sdl: remove useless commented code
This commit is contained in:
parent
75f1a4f6f9
commit
fdb03d894b
|
@ -54,14 +54,6 @@ fillaudio(void *udata,
|
|||
// debug code
|
||||
//printf("s_BufferIn: %i s_BufferWrite = %i s_BufferRead = %i s_BufferSize = %i\n",
|
||||
// s_BufferIn, s_BufferWrite, s_BufferRead, s_BufferSize);
|
||||
|
||||
/* XXX RDJ: WTF? This doesn't make any sense at all. This will ensure that garbage data *does*
|
||||
make it to the sound card, both in theory (it breaks the idea of a ring buffer) and in practice
|
||||
(I get all sorts of pops, snaps, and garbled noise on my machine with these lines in place).
|
||||
// ensure that we're not writing garbage data to the soundcard
|
||||
if(s_BufferWrite > s_BufferRead)
|
||||
s_BufferWrite = s_BufferRead;
|
||||
*/
|
||||
|
||||
while(len) {
|
||||
int16 sample = 0;
|
||||
|
|
Loading…
Reference in New Issue