diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-17 05:22:53 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-17 05:22:53 +0000 |
commit | a67e5d89efe6c3fcf5a2eaf27aac1c14f024ee27 (patch) | |
tree | 2e62c72ea2e45410216bdbd62b70101db0f4e7ca /apps/tagtree.c | |
parent | c6b6bad18fcd68182574086c2eb2a1da30d36d25 (diff) |
It makes more sense for the callback registrar to decide if its a "oneshot" then the callback caller.
(Doing it this way means playback could(/should?) registar a disk spinup callback at init which is called every spinup without needing to be reregistered)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16685 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 4572204ae5..faffb0053d 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -925,8 +925,8 @@ void tagtree_init(void) uniqbuf = buffer_alloc(UNIQBUF_SIZE); - add_event(PLAYBACK_EVENT_TRACK_BUFFER, tagtree_buffer_event); - add_event(PLAYBACK_EVENT_TRACK_FINISH, tagtree_track_finish_event); + add_event(PLAYBACK_EVENT_TRACK_BUFFER, false, tagtree_buffer_event); + add_event(PLAYBACK_EVENT_TRACK_FINISH, false, tagtree_track_finish_event); } static bool show_search_progress(bool init, int count) |