From aaea098f4eac08a4f554f8368d4938352f52c6db Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 22 Apr 2004 06:09:11 +0000 Subject: [PATCH] no need to silence the buffer; Mix() will always fill it --- stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp index 99ed75a7ad..a0a569dc05 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp @@ -42,9 +42,6 @@ void RageSound_DSound_Software::MixerThread() continue; } - /* Silence the buffer. */ - memset( locked_buf, 0, len ); - this->Mix( (int16_t *) locked_buf, len/bytes_per_frame, play_pos, pcm->GetPosition() ); pcm->release_output_buf(locked_buf, len);