aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 8b3a00b0e..36e15a78f 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -82,13 +82,8 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
data = dataIn;
datalen = dataInLen;
} else {
- datalen =
- pcm_sizeOfOutputBufferForAudioFormatConversion(&
- (dc->
- audioFormat),
- dataInLen,
- &(cb->
- audioFormat));
+ datalen = pcm_sizeOfConvBuffer(&(dc->audioFormat), dataInLen,
+ &(cb->audioFormat));
if (datalen > convBufferLen) {
convBuffer = xrealloc(convBuffer, datalen);
convBufferLen = datalen;