aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-21 22:53:13 +0200
committerMax Kellermann <max@duempel.org>2008-10-21 22:53:13 +0200
commitca6e613a7f3a05d414353c44d18d30c5e77ac8c3 (patch)
tree4915ca011b0bf6fa45791e031f4de7a9e6bd69cd /src/decoder_api.c
parentfb416964d62487c13c9a89fb7f4284945b9544a7 (diff)
downloadmpd-ca6e613a7f3a05d414353c44d18d30c5e77ac8c3.tar.gz
mpd-ca6e613a7f3a05d414353c44d18d30c5e77ac8c3.tar.xz
mpd-ca6e613a7f3a05d414353c44d18d30c5e77ac8c3.zip
pcm_utils: no CamelCase
Renamed all functions which were still in CamelCase.
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 8175fbac8..a90fb6370 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -171,8 +171,8 @@ decoder_data(struct decoder *decoder,
data = dataIn;
datalen = dataInLen;
} else {
- datalen = pcm_sizeOfConvBuffer(&(dc.audioFormat), dataInLen,
- &(ob.audioFormat));
+ datalen = pcm_convert_size(&(dc.audioFormat), dataInLen,
+ &(ob.audioFormat));
if (datalen > convBufferLen) {
if (convBuffer != NULL)
free(convBuffer);
@@ -180,9 +180,9 @@ decoder_data(struct decoder *decoder,
convBufferLen = datalen;
}
data = convBuffer;
- datalen = pcm_convertAudioFormat(&(dc.audioFormat), dataIn,
- dataInLen, &(ob.audioFormat),
- data, &decoder->conv_state);
+ datalen = pcm_convert(&(dc.audioFormat), dataIn,
+ dataInLen, &(ob.audioFormat),
+ data, &decoder->conv_state);
}
if (replayGainInfo != NULL && (replayGainState != REPLAYGAIN_OFF))