question

LivoBooks avatar image
LivoBooks asked

How to programmatically detect if Dolby system is active or not on Android

I have a problem with my android app, when I run on a kindle fire 7" with Dolby active there is a flaw in the sound, but when this option is disabled the problem disappears. I'm using MediaPlayer to play long audio files, i cannot use AudioPool because these are background sounds, i'm already using SoundPool to play effects. There is a way to programmatically detect if Dolby system is active or not on Android application? There is a way to make MediaPlayer accept multichannel? Sorry for my bad english :p
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LivoBooks avatar image
LivoBooks answered
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LivoBooks avatar image
LivoBooks answered
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi Livobooks, Glad to know that you have found a solution to your problem. This would surely help other developers as well.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.