Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] Audio Routing issue with microphone

$
0
0
I have an app that calls the AudioSystem class (android.media.AudioSystem) using reflection. All methods are static and no instantiation of the AudioSystem class occurs.

The method used in AudioSystem is setDeviceConnectionState.

The code also will call AudioManager methods like: audioManager().setSpeakerphoneOn(false);


What I have noticed is that a few people running stock 4.1.1 have contacted me stating that apps like Google Now, Voice Search, Camcorder will no longer work, when my app is running. I remember that Cyanogenmod had some issues with Google Now, and Voice Search and was wondering if anyone had some ideas as to what I should look at.

I know that as of 4.2 all of the microphone input constants for setDeviceConnectionState have changed, but these users are running 4.1.1.

The big problem is that I can't reproduce the issue. As you know emulators aren't much good when debugging audio issues.


Thanks in advance !

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>