ocarina: Modifications for the new current_track() function
Without this patch ocarina/ won't compile...
This commit is contained in:
parent
4dac0fe096
commit
30c45f608f
|
@ -48,16 +48,12 @@ void cb_refilter()
|
|||
ocarina::library::refilter();
|
||||
}
|
||||
|
||||
void cb_track_loaded_helper(libsaria::Track *track)
|
||||
{
|
||||
change_footer(track);
|
||||
ocarina::library::scroll_to(track);
|
||||
}
|
||||
|
||||
void cb_track_loaded()
|
||||
{
|
||||
println("Ocarina TRACK_LOADED callback!");
|
||||
libsaria::current_track(cb_track_loaded_helper);
|
||||
libsaria::Track *current = libsaria::current_track();
|
||||
change_footer(current);
|
||||
ocarina::library::scroll_to(current);
|
||||
}
|
||||
|
||||
void setup_callbacks()
|
||||
|
|
Loading…
Reference in New Issue