aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-10 14:06:23 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-10 14:06:23 +0000
commit7626d9a547e9a8dfadbcf0dc148fcef4e61bb2cd (patch)
tree99abd91a2aee35d924476a8188c6b3628f72008e /src/pcm_utils.h
parent9dd098f09b84fadce60a779a2f2daa0e904e94d2 (diff)
downloadmpd-7626d9a547e9a8dfadbcf0dc148fcef4e61bb2cd.tar.gz
mpd-7626d9a547e9a8dfadbcf0dc148fcef4e61bb2cd.tar.xz
mpd-7626d9a547e9a8dfadbcf0dc148fcef4e61bb2cd.zip
more little bits of code in prep for resample/audioFormat conversion,
now to just write the actual audioFormat conversion code! git-svn-id: https://svn.musicpd.org/mpd/trunk@970 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-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: */