From 4bab506d78aca1864ceddd3a30ca24723a5ddee0 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 20 Aug 2008 14:36:25 +0000 Subject: [PATCH] clearing something for the compiler git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1068 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmAudioMixIn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmAudioMixIn.cpp b/core/AmAudioMixIn.cpp index 31516507..55afe7c1 100644 --- a/core/AmAudioMixIn.cpp +++ b/core/AmAudioMixIn.cpp @@ -87,7 +87,7 @@ int AmAudioMixIn::get(unsigned int user_ts, unsigned char* buffer, if (nb_samples<<1 != len_from_a) memset((void*)&pdest[len_from_a>>1], 0, - nb_samples<<1 - len_from_a); + (nb_samples<<1) - len_from_a); // add audio from B len = B->get(user_ts, (unsigned char*)mix_buf, nb_samples);