Skip to content

Commit

Permalink
fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 28, 2021
1 parent 94e033f commit e2ef350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ggwave-common-sdl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ bool GGWave_mainLoop() {
if (::getTime_ms(tLastNoData, tNow) > 500.0f) {
g_ggWave->decode(cbWaveformInp);
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);
}
} else {
Expand Down

0 comments on commit e2ef350

Please sign in to comment.