added warning when audio is underflowing

This commit is contained in:
Anthony Pesch 2017-05-17 19:47:40 -04:00
parent d104e21129
commit 04a42d7b07
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ static void audio_write_callback(struct SoundIoOutStream *outstream,
} else {
/* write out silence */
memset(tmp, 0, n * sizeof(tmp[0]));
LOG_WARNING("wrote out %d frames of silence", n);
}
/* copy frames to output stream */