diff options
Diffstat (limited to 'src/output_control.c')
-rw-r--r-- | src/output_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_control.c b/src/output_control.c index df330ee21..7e181aca2 100644 --- a/src/output_control.c +++ b/src/output_control.c @@ -33,7 +33,7 @@ int audio_output_open(struct audio_output *audioOutput, audioOutput->inAudioFormat = *audioFormat; - if (audioOutput->convertAudioFormat) { + if (audio_format_defined(&audioOutput->reqAudioFormat)) { audioOutput->outAudioFormat = audioOutput->reqAudioFormat; } else { audioOutput->outAudioFormat = audioOutput->inAudioFormat; |