Back in this thread:
viewtopic.php?f=34&t=79302#p470927It was mentioned that some Rokus can handle two simultaneous sounds playing via roAudioResource
Here is RokuJoel's sample code:
sound1=createobject("roAudioResource","pkg:/sounds/boom.wav")
sound2=createobject("roAudioResource","pkg:/sounds/laser.wav")
numchannels=sound1.maxSimulStreams()
volume=100
if numchannels < 2 then
print "Two channels not supported"
stop
else
print numchannels;" are supported"
end if
channel=0
sound1.trigger(volume,channel)
channel=1
sound2.trigger(volume,channel)
For those of you with many Roku models (looking at you Endless, NewManLiving, BradC), can you help me fill in the info below? I think it would useful for everyone.
🙂 Ignoring classic models, and listing models listed on wikipedia:
MODEL.....maxSimulStreams()
2400......(2)
2450......(1)
2500.......1
3000......(2)
3050......(2)
3100.......2
3400......(2)
3420......(2)
3500.......2
2700......(1)
2710.......1
2720......(1)
4200.......2
4210......(2)
4230......(2)
TV........(1)
EDIT - With RokuMarkn's info, it looks like this - is this what others see as well?