summaryrefslogtreecommitdiff
path: root/src/audiocache.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-03-25 14:57:24 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-03-25 14:57:24 +0100
commita56b3d5eac05d0f51757d510553ad2d23b60235b (patch)
treef5c485d022c914e3da92925634780d28c49af877 /src/audiocache.h
parent6c5b062ba00388951b67dc1ea555dc6ad8af4ede (diff)
Fix crash on multiple stop/start command due to invalid pointer returned to the engine from the diskstreamer.
Diffstat (limited to 'src/audiocache.h')
-rw-r--r--src/audiocache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audiocache.h b/src/audiocache.h
index 5a4577f..d0be509 100644
--- a/src/audiocache.h
+++ b/src/audiocache.h
@@ -106,6 +106,7 @@ public:
private:
size_t framesize{0};
sample_t* nodata{nullptr};
+ size_t nodata_framesize{0};
size_t number_of_underruns{0};
AudioCacheIDManager id_manager;