[Android] [PATCH] Lower the volume of VLC when losing audio focus.
Geoffrey Métais
geoffrey at videolan.org
Fri Nov 10 10:43:25 CET 2017
We did this in the past but it doesn't work well, it's more efficient on
phone/tablet to reduce STREAM_MUSIC.
Changing VLC volume takes too much time.
We have to do a mix of both
Le ven. 10 nov. 2017 à 08:54, Wan Zhou <wanz at nvidia.com> a écrit :
> Hi,
>
>
>
> With the VLC 2.5.8 on top box of Android N, we found an issue that all
> audio track’s volume will be reduced when launching a voice assistance.
>
> That is because VLC lower the system volume of STREAM_MUSIC when it
> receives AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK.
>
> Actually, VLC only need to turn down its own volume while losing audio
> focus of AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK.
>
> Please review the attached patch for details.
>
> Thanks.
>
>
>
> Best Regards,
>
> Wan
>
>
> ------------------------------
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential information. Any unauthorized review, use,
> disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
> ------------------------------
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20171110/d5133195/attachment.html>
More information about the Android
mailing list