diff options
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/PulseOutputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index 59fe9fb54..fa1b06da9 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -581,8 +581,8 @@ PulseOutput::SetupStream(const pa_sample_spec &ss) /* WAVE-EX is been adopted as the speaker map for most media files */ pa_channel_map chan_map; - pa_channel_map_init_auto(&chan_map, ss.channels, - PA_CHANNEL_MAP_WAVEEX); + pa_channel_map_init_extend(&chan_map, ss.channels, + PA_CHANNEL_MAP_WAVEEX); stream = pa_stream_new(context, name, &ss, &chan_map); if (stream == nullptr) throw MakePulseError(context, |