On 27 April 2015 at 13:07, Lopes Yoann <[email protected]> wrote:
> > On 27 Apr 2015, at 12:23, Federico Buti <[email protected]> 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. > Yup, that's the answer I was searching for. Thanks. > I guess this is what you need: > http://developer.android.com/reference/android/media/AudioManager.html#setSpeakerphoneOn(boolean) > > — > Yoann > Already skimmed the API but didn't checked this specific method of AudioManager. Thanks to have pointed that out. Cheers, F.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
