[Interest] [Development] Sound routing
Lopes Yoann
Yoann.Lopes at theqtcompany.com
Mon Apr 27 13:07:24 CEST 2015
On 27 Apr 2015, at 12:23, Federico Buti <bacarozzo at gmail.com<mailto:bacarozzo at gmail.com>> wrote:
it seems to me that sound is automagically routed to the outer speaker, not the dialling speaker. The outer speaker should never play sound in my app, i.e. with a tablet device I'm limited to using just earphones.
Then you’ll have to use Android APIs directly. Qt Multimedia doesn’t have an API for audio routing.
I guess this is what you need: http://developer.android.com/reference/android/media/AudioManager.html#setSpeakerphoneOn(boolean)
—
Yoann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150427/e8680654/attachment.html>
More information about the Interest
mailing list