Disabled the buffer underflow warning.
This commit is contained in:
parent
4e514ca2a2
commit
5ee8ba5c09
|
@ -48,8 +48,9 @@ static int patestCallback( const void *inputBuffer, void *outputBuffer,
|
||||||
return paContinue;
|
return paContinue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (soundbufsize - audioFree() < outBufferLength)
|
// Not enough available data to fill the sound buffer
|
||||||
fprintf(stderr, "** PortAudio : buffer underflow **\n");
|
//if (soundbufsize - audioFree() < outBufferLength)
|
||||||
|
// fprintf(stderr, "** PortAudio : buffer underflow **\n");
|
||||||
|
|
||||||
u8 *soundbuf = (u8 *)stereodata16;
|
u8 *soundbuf = (u8 *)stereodata16;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue