From 2ec1c5ff3c1ff67825fb449c9eab2c3e4ff441f6 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 10 May 2004 12:35:18 +0000 Subject: some more work on organizing code for resampling/audioFormat conversion git-svn-id: https://svn.musicpd.org/mpd/trunk@968 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/pcm_utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pcm_utils.h') diff --git a/src/pcm_utils.h b/src/pcm_utils.h index 109981274..839005ccf 100644 --- a/src/pcm_utils.h +++ b/src/pcm_utils.h @@ -33,5 +33,8 @@ 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); #endif /* vim:set shiftwidth=4 tabstop=8 expandtab: */ -- cgit v1.2.3