diff options
Diffstat (limited to 'apps/database.c')
-rw-r--r-- | apps/database.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/database.c b/apps/database.c index adcf9bb6aa..600e58232f 100644 --- a/apps/database.c +++ b/apps/database.c | |||
@@ -376,9 +376,13 @@ int rundb_init(void) | |||
376 | } | 376 | } |
377 | 377 | ||
378 | rundb_initialized = 1; | 378 | rundb_initialized = 1; |
379 | /* hooks disabled for archos, rendering the runtime database not working, | ||
380 | * re enable when these callbacks are implemented in mpeg.c */ | ||
381 | #if CONFIG_HWCODEC == MASNONE | ||
379 | audio_set_track_buffer_event(&rundb_buffer_track); | 382 | audio_set_track_buffer_event(&rundb_buffer_track); |
380 | audio_set_track_changed_event(&rundb_track_change); | 383 | audio_set_track_changed_event(&rundb_track_change); |
381 | audio_set_track_unbuffer_event(&rundb_unbuffer_track); | 384 | audio_set_track_unbuffer_event(&rundb_unbuffer_track); |
385 | #endif | ||
382 | rundbsize=lseek(rundb_fd,0,SEEK_END); | 386 | rundbsize=lseek(rundb_fd,0,SEEK_END); |
383 | return 0; | 387 | return 0; |
384 | #endif | 388 | #endif |