aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.c
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.c
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.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index 3d39b20e3..741cb3d7b 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -136,4 +136,21 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
pcm_add(buffer1,buffer2,bufferSize1,bufferSize2,vol1,1000-vol1,format);
}
-/* vim:set shiftwidth=4 tabstop=8 expandtab: */
+
+void pcm_convertAudioFormat(AudioFormat * inFormat, char * inBuffer, size_t
+ inSize, AudioFormat * outFormat, char * outBuffer)
+{
+ abort();
+
+ return;
+}
+
+size_t pcm_sizeOfOutputBufferForAudioFormatConversion(AudioFormat * inFormat,
+ char * inBuffer, size_t inSize, AudioFormat * outFormat)
+{
+ abort();
+
+ return 0;
+}
+
+/* vim:set shiftwidth=8 tabstop=8 expandtab: */