I'm not sure that this is the correct place to be posting this, but if not, I'm sure someone will gently prod me in the right direction.

Because I'm sad that way, I've been messing around with the idea of writing a "terminal" or "thin" client for the Rio. The idea being that java applications running on a PC would receive input and send screens to the Rio.

I have gotten as far as getting a basic mp3 player working with libmad, but am now pulling my hair out because ...

The scheduling between my User Interface and Audio Decoder threads seems to be at best "luck of the draw". Sometimes the UI thread gets loads of CPU while the audio playback struggles. And the next time I run the audio will be filling it's buffers merrily, but the UI will be sluggish.

I've tried setting the thread scheduling policy to Real Time and setting relative priorities, but it still can't get reliable results.

Does anyone have any experience of these things?

Regards
Paul
_________________________
Paul (the tRio guy)