Commit aa22f0f1 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
Browse files

aout: assert than we can't apply both stereo and mix mode

parent 3b32be66
......@@ -768,6 +768,7 @@ int aout_OutputNew (audio_output_t *aout)
&& aout_HasMixModeChoice(aout, AOUT_MIX_MODE_BINAURAL))
{
assert(fmt->i_physical_channels == AOUT_CHANS_STEREO);
assert(stereo_mode == AOUT_VAR_CHAN_UNSET);
aout_UpdateMixMode(aout, AOUT_MIX_MODE_BINAURAL, fmt, filters_cfg);
}
......
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