Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
malort
Visitor

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 1
malort
Visitor

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