diff options
Diffstat (limited to 'src/audioOutput.c')
-rw-r--r-- | src/audioOutput.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/audioOutput.c b/src/audioOutput.c index dd1635331..7a99dfd68 100644 --- a/src/audioOutput.c +++ b/src/audioOutput.c @@ -194,11 +194,9 @@ int openAudioOutput(AudioOutput * audioOutput, AudioFormat * audioFormat) static void convertAudioFormat(AudioOutput * audioOutput, char **chunkArgPtr, int *sizeArgPtr) { - int size = - pcm_sizeOfOutputBufferForAudioFormatConversion( - &(audioOutput->inAudioFormat), - *sizeArgPtr, - &(audioOutput->outAudioFormat)); + int size = pcm_sizeOfConvBuffer(&(audioOutput->inAudioFormat), + *sizeArgPtr, + &(audioOutput->outAudioFormat)); if (size > audioOutput->convBufferLen) { audioOutput->convBuffer = |