Fixed red. HWCODEC platforms still use the old api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16549 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e90e24d95e
commit
104fa099cc
1 changed files with 6 additions and 0 deletions
|
@ -924,8 +924,14 @@ void tagtree_init(void)
|
|||
root_menu = 0;
|
||||
|
||||
uniqbuf = buffer_alloc(UNIQBUF_SIZE);
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
playback_add_event(PLAYBACK_EVENT_TRACK_BUFFER, tagtree_buffer_event);
|
||||
playback_add_event(PLAYBACK_EVENT_TRACK_FINISH, tagtree_track_finish_event);
|
||||
#else
|
||||
audio_set_track_buffer_event(tagtree_buffer_event);
|
||||
audio_set_track_unbuffer_event(tagtree_track_finish_event);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
static bool show_search_progress(bool init, int count)
|
||||
|
|
Loading…
Reference in a new issue