Rockbox mail archive
Subject: need help controlling playback from code...
From: Fernando Birra (fpb_at_di.fct.unl.pt)
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,
Page was last modified "Jan 10 2012" The Rockbox Crew