Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

roolku
Friday, November 3rd, 2006 at 11:02:52am UTC 

  1. Index: apps/playback.c
  2. ===================================================================
  3. RCS file: /cvsroot/rockbox/apps/playback.c,v
  4. retrieving revision 1.383
  5. diff -u -r1.383 playback.c
  6. --- apps/playback.c     2 Nov 2006 07:53:55 -0000    1.383
  7. +++ apps/playback.c     3 Nov 2006 10:50:20 -0000
  8. @@ -659,6 +659,7 @@
  9.      track_changed = false;
  10.      current_fd = -1;
  11.      track_buffer_callback = NULL;
  12. +    debugf("ROOLKU: RESET %d\n", (int) track_buffer_callback);   
  13.      track_unbuffer_callback = NULL;
  14.      track_changed_callback = NULL;
  15.      track_ridx = 0; /* Just to prevent CUR_TI from being anything random. */
  16. @@ -2594,6 +2595,8 @@
  17.                  {
  18.                      /* Mark the event 'sent' even if we don't really send one */
  19.                      tracks[last_idx].event_sent = true;
  20. +                    debugf("ROOLKU: TEST %d\n", (int) track_buffer_callback);
  21. +                   
  22.                      if (track_buffer_callback)
  23.                          track_buffer_callback(&tracks[last_idx].id3, false);
  24.                  }
  25. @@ -2608,6 +2611,8 @@
  26.          if (last_idx >= 0 && !tracks[last_idx].event_sent)
  27.          {
  28.              tracks[last_idx].event_sent = true;
  29. +            debugf("rob TEST %d\n", (int) track_buffer_callback);
  30. +
  31.              if (track_buffer_callback)
  32.                  track_buffer_callback(&tracks[last_idx].id3, true);
  33.          }
  34. @@ -2927,6 +2932,7 @@
  35.                                                    bool last_track))
  36.  {
  37.      track_buffer_callback = handler;
  38. +    debugf("ROOLKU: SET %d\n", (int) track_buffer_callback);
  39.  }
  40.  
  41.  void audio_set_track_unbuffer_event(void (*handler)(struct mp3entry *id3,

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right
worth-right