Hi Martin,
Thank you for your patch.
Unfortunately on my device, while the patch solves the problem with
audio routed to the wrong speaker on incoming calls, it mutes the mic.
Have you experienced the same problem?
Guillaume
Le Wed, 23 Feb 2011 16:57:14 +0100,
Martin Hörlin<address@hidden> a écrit :
Hello everyone,
I have experienced a strange problem on my Samsung Galaxy S with the
audio routing. The audio gets routed to wrong speakers, especially if
you get an incoming call and the phone has been ringing, also the
speaker phone button has behaved a bit buggy.
The audio routing on the Galaxy seems to require the use of
AudioManager.setMode() to work properly, not sure why it is not
enough to set the right stream type on the AudioTrack class, this was
figured out mostly by experimenting.
Best Regards,
Martin Hörlin