mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-19 04:38:06 +08:00
fix log message
This commit is contained in:
@@ -254,7 +254,7 @@ bool GGWave_mainLoop() {
|
|||||||
if (::getTime_ms(tLastNoData, tNow) > 500.0f) {
|
if (::getTime_ms(tLastNoData, tNow) > 500.0f) {
|
||||||
g_ggWave->decode(cbWaveformInp);
|
g_ggWave->decode(cbWaveformInp);
|
||||||
if ((int) SDL_GetQueuedAudioSize(g_devIdInp) > 32*g_ggWave->getSamplesPerFrame()*g_ggWave->getSampleSizeBytesInp()) {
|
if ((int) SDL_GetQueuedAudioSize(g_devIdInp) > 32*g_ggWave->getSamplesPerFrame()*g_ggWave->getSampleSizeBytesInp()) {
|
||||||
fprintf(stderr, "Warning: slow processing, clearing queued audio buffer of %d bytes ...", SDL_GetQueuedAudioSize(g_devIdInp));
|
fprintf(stderr, "Warning: slow processing, clearing queued audio buffer of %d bytes ...\n", SDL_GetQueuedAudioSize(g_devIdInp));
|
||||||
SDL_ClearQueuedAudio(g_devIdInp);
|
SDL_ClearQueuedAudio(g_devIdInp);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user