mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
echo-cancel: Ensure correct handling of endianness
The adrian module was using home-brewed endianness conversion instead of the appropriate mactos, and speex assumed a little-endian host. This fixes both of these.
This commit is contained in:
parent
83d3c8f22b
commit
6897217d26
2 changed files with 4 additions and 3 deletions
|
|
@ -42,7 +42,7 @@ static const char* const valid_modargs[] = {
|
|||
static void pa_speex_ec_fixate_spec(pa_sample_spec *source_ss, pa_channel_map *source_map,
|
||||
pa_sample_spec *sink_ss, pa_channel_map *sink_map)
|
||||
{
|
||||
source_ss->format = PA_SAMPLE_S16LE;
|
||||
source_ss->format = PA_SAMPLE_S16NE;
|
||||
|
||||
*sink_ss = *source_ss;
|
||||
*sink_map = *source_map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue