Rockbox mail archiveSubject: need help controlling playback from code...
need help controlling playback from code...
From: Fernando Birra <fpb_at_di.fct.unl.pt>
Date: Sat, 28 Feb 2004 02:06:52 -0000
I'm starting to play with the firmware and I was trying to build a simple
app to play a fixed playlist and control the playback from the remote
This is what I did:
1. I called my test function from inside app_main() instead of calling
2. I set up an infinite loop and waiting for a button using button_get(true)
3. I did a switch to identify the buttons
// case BUTTON_RC_RIGHT:
// mpeg_next(); ????
// case BUTTON_RC_LEFT:
Now, I'm getting all kinds of kernel panics and stack overflows... How can I
stop the playback ? How to skip from song to the next or previous in the
Thanks in advance,
Received on 2004-02-28