diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/audiocache.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audiocache.cc b/src/audiocache.cc index 73ceadb..e317851 100644 --- a/src/audiocache.cc +++ b/src/audiocache.cc @@ -191,6 +191,7 @@ sample_t* AudioCache::next(cacheid_t id, std::size_t& size) { // Just return silence. settings.number_of_underruns.fetch_add(1); + c.localpos += framesize; // Skip these samples so we don't loose sync. assert(nodata); return nodata; } @@ -206,6 +207,7 @@ sample_t* AudioCache::next(cacheid_t id, std::size_t& size) { // Just return silence. settings.number_of_underruns.fetch_add(1); + c.localpos += framesize; // Skip these samples so we don't loose sync. assert(nodata); return nodata; } |