diff -c ../buffer.c:1.1.1.1 xamp/buffer.c:1.2 *** ../buffer.c:1.1.1.1 Wed Jun 14 22:23:45 2000 --- ../buffer.c Wed Jun 14 22:23:45 2000 *************** *** 226,232 **** percentFull=100*bufferSize(&audioBuffer)/AUDIO_BUFFER_SIZE; #if defined(DEBUG) ! if ((cntr++ % (16/(AUSIZ/4096)))==0) msg("\rBuffer (%2d%%) %6d",percentFull,bufferSize(&audioBuffer)); #endif if (AUSIZ>bytesToEnd) { cnt = audioWrite(audioBuffer.bufferPtr + audioBuffer.outPos, bytesToEnd); --- 226,242 ---- percentFull=100*bufferSize(&audioBuffer)/AUDIO_BUFFER_SIZE; #if defined(DEBUG) ! if (AUSIZ >= 4096) { ! if ((cntr++ % (16/(AUSIZ/4096)))==0) ! msg("\nBuffer(%2d%%) %6d\n", ! percentFull, ! bufferSize(&audioBuffer)); ! } else { ! if ((cntr++ % (16 * AUSIZ)) == 0) ! msg("\nBuffer(%2d%%) %6d\n", ! percentFull, ! bufferSize(&audioBuffer)); ! } #endif if (AUSIZ>bytesToEnd) { cnt = audioWrite(audioBuffer.bufferPtr + audioBuffer.outPos, bytesToEnd);