summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streamer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/streamer.c b/streamer.c
index b126706e..143f5bbd 100644
--- a/streamer.c
+++ b/streamer.c
@@ -2549,6 +2549,7 @@ streamer_notify_order_changed (int prev_order, int new_order) {
void
audio_get_waveform_data (int type, float *data) {
if (!audio_mem_mutex) {
+ memset (data, 0, sizeof (audio_data));
return;
}
mutex_lock (audio_mem_mutex);