aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
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/pcm_utils.h
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/pcm_utils.h')
-rw-r--r--src/pcm_utils.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 4041e2f64..b67fae00e 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -44,18 +44,20 @@ struct pcm_convert_state {
int error;
};
-void pcm_volumeChange(char *buffer, int bufferSize, const struct audio_format *format,
- int volume);
+void pcm_volume(char *buffer, int bufferSize,
+ const struct audio_format *format,
+ int volume);
void pcm_mix(char *buffer1, const char *buffer2, size_t size,
const struct audio_format *format, float portion1);
-size_t pcm_convertAudioFormat(const struct audio_format *inFormat,
- const char *inBuffer, size_t inSize,
- const struct audio_format *outFormat,
- char *outBuffer,
- struct pcm_convert_state *convState);
+size_t pcm_convert(const struct audio_format *inFormat,
+ const char *inBuffer, size_t inSize,
+ const struct audio_format *outFormat,
+ char *outBuffer,
+ struct pcm_convert_state *convState);
+
+size_t pcm_convert_size(const struct audio_format *inFormat, size_t inSize,
+ const struct audio_format *outFormat);
-size_t pcm_sizeOfConvBuffer(const struct audio_format *inFormat, size_t inSize,
- const struct audio_format *outFormat);
#endif