Advertising
- roolku
- Friday, November 3rd, 2006 at 4:02:52am MST
- Index: apps/playback.c
- ===================================================================
- RCS file: /cvsroot/rockbox/apps/playback.c,v
- retrieving revision 1.383
- diff -u -r1.383 playback.c
- --- apps/playback.c 2 Nov 2006 07:53:55 -0000 1.383
- +++ apps/playback.c 3 Nov 2006 10:50:20 -0000
- @@ -659,6 +659,7 @@
- track_changed = false;
- current_fd = -1;
- track_buffer_callback = NULL;
- + debugf("ROOLKU: RESET %d\n", (int) track_buffer_callback);
- track_unbuffer_callback = NULL;
- track_changed_callback = NULL;
- track_ridx = 0; /* Just to prevent CUR_TI from being anything random. */
- @@ -2594,6 +2595,8 @@
- {
- /* Mark the event 'sent' even if we don't really send one */
- tracks[last_idx].event_sent = true;
- + debugf("ROOLKU: TEST %d\n", (int) track_buffer_callback);
- +
- if (track_buffer_callback)
- track_buffer_callback(&tracks[last_idx].id3, false);
- }
- @@ -2608,6 +2611,8 @@
- if (last_idx >= 0 && !tracks[last_idx].event_sent)
- {
- tracks[last_idx].event_sent = true;
- + debugf("rob TEST %d\n", (int) track_buffer_callback);
- +
- if (track_buffer_callback)
- track_buffer_callback(&tracks[last_idx].id3, true);
- }
- @@ -2927,6 +2932,7 @@
- bool last_track))
- {
- track_buffer_callback = handler;
- + debugf("ROOLKU: SET %d\n", (int) track_buffer_callback);
- }
- void audio_set_track_unbuffer_event(void (*handler)(struct mp3entry *id3,
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.