Forum Discussion
EnTerr
11 years agoRoku Guru
"RokuMarkn" wrote:Because... i am stupid? :mrgreen:
Yes that sounds correct, but you wouldn't actually want to write code like that would you? Why not just use maxSimulStreams?
I just copy&pasted that from a code i wrote to discriminate the non-ARM/GLES players.
maxSimulStreams() is better (it was undocumented until an hour ago). Not available on fw3, so (for those who care) will need a guard check the version before trying to call it. Caffè corretto:
isDualChannelAudio = mid(createObject("roDeviceInfo").getVersion(), 3) > "3" and createObject("roAudioResource", "deadend").maxSimulStreams() > 1