From 76af5b2f90e5a2c7a310d649c6bd36ca08c69dfa Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 10 May 2004 19:54:32 +0000 Subject: ??? git-svn-id: https://svn.musicpd.org/mpd/trunk@977 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/pcm_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pcm_utils.c b/src/pcm_utils.c index e7872a272..fcd84bffa 100644 --- a/src/pcm_utils.c +++ b/src/pcm_utils.c @@ -224,7 +224,7 @@ void pcm_convertAudioFormat(AudioFormat * inFormat, char * inBuffer, size_t mpd_sint16 * inptr = (mpd_sint16 *)dataChannelConv; mpd_sint16 * outptr = (mpd_sint16 *)outBuffer; mpd_uint32 nlen = (((dataChannelLen >> shift) * - (mpd_uint32)(outFormat->sampleRate)) / + (outFormat->sampleRate)) / inFormat->sampleRate); nlen <<= shift; in_samples = dataChannelLen >> shift; -- cgit v1.2.3