aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.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/output_thread.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 '')
-rw-r--r--src/output_thread.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index 565708299..e2f360d9b 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -33,9 +33,9 @@ static void ao_command_finished(struct audio_output *ao)
static void convertAudioFormat(struct audio_output *audioOutput,
const char **chunkArgPtr, size_t *sizeArgPtr)
{
- size_t size = pcm_sizeOfConvBuffer(&(audioOutput->inAudioFormat),
- *sizeArgPtr,
- &(audioOutput->outAudioFormat));
+ size_t size = pcm_convert_size(&(audioOutput->inAudioFormat),
+ *sizeArgPtr,
+ &(audioOutput->outAudioFormat));
if (size > audioOutput->convBufferLen) {
if (audioOutput->convBuffer != NULL)
@@ -44,11 +44,11 @@ static void convertAudioFormat(struct audio_output *audioOutput,
audioOutput->convBufferLen = size;
}
- *sizeArgPtr = pcm_convertAudioFormat(&(audioOutput->inAudioFormat),
- *chunkArgPtr, *sizeArgPtr,
- &(audioOutput->outAudioFormat),
- audioOutput->convBuffer,
- &audioOutput->convState);
+ *sizeArgPtr = pcm_convert(&(audioOutput->inAudioFormat),
+ *chunkArgPtr, *sizeArgPtr,
+ &(audioOutput->outAudioFormat),
+ audioOutput->convBuffer,
+ &audioOutput->convState);
*chunkArgPtr = audioOutput->convBuffer;
}