aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.c2
1 files changed, 1 insertions, 1 deletions
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;