Commit 5a53ff0d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PulseAudio: clobber original channels (refs #12673)

Do like the other outputs do.

(cherry picked from commit a842bc4778ea330326af8abf6de5659c78e30cb7)
parent a4384433
......@@ -759,6 +759,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
}
if (fmt->i_physical_channels & AOUT_CHAN_LFE)
map.map[map.channels++] = PA_CHANNEL_POSITION_LFE;
fmt->i_original_channels = fmt->i_physical_channels;
for (unsigned i = 0; map.channels < ss.channels; i++) {
map.map[map.channels++] = PA_CHANNEL_POSITION_AUX0 + i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment