Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
malort
Level 7

Digital Audio Out - Query for settings?

Is there any access to query for the Digital Audio out setting? It's useful to know as we only had to worry about "surround" vs "stereo" to figure out playback. We had an option to disable certain surround sound modes (DTS, DD, DD+), however those settings are useful since the Roku will auto selected based on the "Digital Audio Out" mode.

Thanks!
0 Kudos
1 Reply
malort
Level 7

Re: Digital Audio Out - Query for settings?

The docs have not been updated - http://sdkdocs.roku.com/display/sdkdoc/ifDeviceInfo

The release notes gave me some direction though. http://sdkdocs.roku.com/display/sdkdoc/Release+Notes
added Function GetAudioDecodeInfo(Void) As Object
added Function GetVideoDecodeInfo(Void) As Object


BrightScript Debugger> di = createObject("roDeviceInfo")
BrightScript Debugger> ?di.GetAudioDecodeInfo()
AC3: 7:31:640:1:
mp3: 2:
DTS: 7:31:1536:1:
wma: 2:
flac: 2:
lpcm: 2:
aac: 2:
DD+: 9:6:0:1:
0 Kudos