af_hrtf: cosmetics: reindent misaligned code block

This commit is contained in:
wm4 2014-09-05 20:47:54 +02:00
parent eaa1f16564
commit 5f29073abf
1 changed files with 8 additions and 8 deletions

View File

@ -301,15 +301,15 @@ static int control(struct af_instance *af, int cmd, void* arg)
return AF_ERROR;
}
mp_audio_set_channels_old(af->data, ((struct mp_audio*)arg)->nch);
if(af->data->nch == 2) {
/* 2 channel input */
if(s->decode_mode != HRTF_MIX_MATRIX2CH) {
/* Default behavior is stereo mixing. */
s->decode_mode = HRTF_MIX_STEREO;
}
if(af->data->nch == 2) {
/* 2 channel input */
if(s->decode_mode != HRTF_MIX_MATRIX2CH) {
/* Default behavior is stereo mixing. */
s->decode_mode = HRTF_MIX_STEREO;
}
else if (af->data->nch < 5)
mp_audio_set_channels_old(af->data, 5);
} else if (af->data->nch < 5) {
mp_audio_set_channels_old(af->data, 5);
}
mp_audio_set_format(af->data, AF_FORMAT_S16);
test_output_res = af_test_output(af, (struct mp_audio*)arg);
// after testing input set the real output format