"RokuMarkn" wrote:
1. In the audioapp sample, AudioInit creates a MessagePort and stores it in o.port. It calls roAudioPlayer.SetMessagePort using that port, and then later Show_Audio_Screen calls create_springboard which calls roSpringboardScreen.SetMessagePort using the same port. Thus messages for both the roAudioPlayer and the roSpringboardScreen will be sent to the same port.
Ok so i've tried a whole bunch of things that don't work. My question is if the roAudioPlayer doesn't receive isRemoteKeyPressed events, how does sharing the port with some other component that does receive isRemoteKeyPressed events change things - I'm still trying to talk to the roAudioPlayer not the screen I'm on.
I've added an info paragraph (from the simpleinfo example) which has the ability to have a button on it. Would it be easier to have a "stop Audio" button there? The sharing port thing isn't going to happen, its just beyond me.
Thanks