diff options
Diffstat (limited to 'apps/database.c')
-rw-r--r-- | apps/database.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/database.c b/apps/database.c index 600e58232f..0d0caebdc2 100644 --- a/apps/database.c +++ b/apps/database.c | |||
@@ -393,8 +393,11 @@ void rundb_shutdown(void) | |||
393 | if (rundb_fd >= 0) | 393 | if (rundb_fd >= 0) |
394 | close(rundb_fd); | 394 | close(rundb_fd); |
395 | rundb_initialized = 0; | 395 | rundb_initialized = 0; |
396 | #if CONFIG_HWCODEC == MASNONE | ||
396 | audio_set_track_buffer_event(NULL); | 397 | audio_set_track_buffer_event(NULL); |
397 | audio_set_track_unbuffer_event(NULL); | 398 | audio_set_track_unbuffer_event(NULL); |
399 | audio_set_track_changed_event(NULL); | ||
400 | #endif | ||
398 | } | 401 | } |
399 | 402 | ||
400 | void writerundbheader(void) | 403 | void writerundbheader(void) |