[Interest] [Development] Sound routing
Federico Buti
bacarozzo at gmail.com
Mon Apr 27 13:32:28 CEST 2015
On 27 April 2015 at 13:07, Lopes Yoann <Yoann.Lopes at theqtcompany.com> wrote:
>
> On 27 Apr 2015, at 12:23, Federico Buti <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.
>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150427/b0391adf/attachment.html>
More information about the Interest
mailing list