Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Bug: No Port Notification on roAudioPlayer Resume

Wanted to check and see if any other developers are seeing this issue with roAudioPlayer.

Firmware Version: 4.1 build 1275

I can create the roAudioPlayer and start play, I get the expected startup status messages as such:

roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: start of play

However, if I Pause() the roAudioPlayer and then Resume() I'm not getting any more messages from the roAudioPlayer. Below is the code block I'm using to print the messages to the debug console.

			
if type(msg)="roAudioPlayerEvent" then
if msg.isStatusMessage() then
print "roAudioPlayerEvent: "; msg.GetMessage()
End if
End if


I don't have a unit with older firmware on it at the moment to test with, but I know that the status messages worked correctly in 3.0.
0 Kudos
1 Reply
Highlighted
Level 15

Re: Bug: No Port Notification on roAudioPlayer Resume

I reported that here: viewtopic.php?f=34&t=42106&start=0

Contrary to what Chris said, as of beta build 2655 the "start of play" status message still doesn't occur. You have to use isResumed().

-JT
0 Kudos