no need to silence the buffer; Mix() will always fill it

This commit is contained in:
Glenn Maynard
2004-04-22 06:09:11 +00:00
parent 4dfcee7eb0
commit aaea098f4e
@@ -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);