diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index cd7b862728..f7eeb7ddd9 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -119,6 +119,9 @@ static int control(int cmd, void *arg) long get_vol, set_vol; float f_multi; + if(ao_data.format == AF_FORMAT_AC3) + return CONTROL_TRUE; + if(mixer_channel) { char *test_mix_index; @@ -137,9 +140,6 @@ static int control(int cmd, void *arg) } if(mixer_device) card = mixer_device; - if(ao_data.format == AF_FORMAT_AC3) - return CONTROL_TRUE; - //allocate simple id snd_mixer_selem_id_alloca(&sid);