aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_utils.h')
-rw-r--r--src/pcm_utils.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 839005ccf..bf1e68799 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -33,8 +33,10 @@ void pcm_volumeChange(char * buffer, int bufferSize, AudioFormat * format,
void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
size_t bufferSize2, AudioFormat * format, float portion1);
-void pmc_convertAudioFormat(AudioFormat * inFormat, char * inBuffer, size_t
- inSize, size_t * inLeft, AudioFormat * outFormat,
- char * outBuffer, size_t outSize, size_t * outLeft);
+void pcm_convertAudioFormat(AudioFormat * inFormat, char * inBuffer, size_t
+ inSize, AudioFormat * outFormat, char * outBuffer);
+
+size_t pcm_sizeOfOutputBufferForAudioFormatConversion(AudioFormat * inFormat,
+ char * inBuffer, size_t inSize, AudioFormat * outFormat);
#endif
-/* vim:set shiftwidth=4 tabstop=8 expandtab: */
+/* vim:set shiftwidth=8 tabstop=8 expandtab: */