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

aout: only propose original and binaural for ambisonics

parent d51f44af
......@@ -561,10 +561,15 @@ static void aout_SetupMixModeChoices (audio_output_t *aout,
aout_AddMixModeChoice(aout, AOUT_MIX_MODE_UNSET, _("Original"), fmt);
aout_AddMixModeChoice(aout, AOUT_MIX_MODE_STEREO, _("Stereo"), NULL);
if (fmt->channel_type != AUDIO_CHANNEL_TYPE_AMBISONICS)
aout_AddMixModeChoice(aout, AOUT_MIX_MODE_STEREO, _("Stereo"), NULL);
aout_AddMixModeChoice(aout, AOUT_MIX_MODE_BINAURAL, _("Binaural"), NULL);
/* Only propose Original and Binaural for Ambisonics content */
if (fmt->channel_type == AUDIO_CHANNEL_TYPE_AMBISONICS)
return;
if (fmt->i_physical_channels != AOUT_CHANS_4_0)
{
static const audio_sample_format_t fmt_4_0 = {
......
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