← Back to team overview

ubuntu-phone team mailing list archive

Re: Context based volume

 

Forgot the link for my last reply.

[1] https://requests.ci-train.ubuntu.com/#/ticket/939
[2] https://bugs.launchpad.net/bugs/1534776

On Thu, Mar 24, 2016 at 9:36 AM, Jim Hodapp <jim.hodapp@xxxxxxxxxxxxx>
wrote:

> Indeed we already have an implementation of various contextual volumes or
> otherwise known as audio roles. There currently is a bug related to the
> audio roles that I have a fix for in silo 53 [1] if you're comfortable with
> and interested in testing it. The bug that it fixes is [2]. Basically the 5
> roles that we have are:
>
>
>    1. Music/Video Role (these are separate at the QtMultimedia level but
>    for Touch we make them one and the same
>    2. AlarmRole - e.g. clock app's alarm use this
>    3. NotificationRole - e.g. SMS/Telegram message received sounds use
>    this
>    4. RingtoneRole - e.g. incoming call ringtone
>    5. VoiceCommunicationRole - e.g. a VOIP app
>
> If you have any further questions on this just let me know.
>
> Jim
>
> On Thu, Mar 24, 2016 at 6:34 AM, Andrea Bernabei <
> andrea.bernabei@xxxxxxxxxxxxx> wrote:
>
>>
>>
>> On Thu, Mar 24, 2016 at 9:55 AM, Ferdinand Holzner <
>> ferdinandholzner@xxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> are there any plans to implement a context based volume setting?
>>>
>>> For the moment the volume seems to get set globally. If i make it lower
>>> for the music app, the volume for the ring tone will be on the same level.
>>> Same goes for some webapps that are using sound effects, Just like the
>>> "OMGUbuntu" app. It automagically sets the volume to max, which is very
>>> annoying, if you're listening to music.
>>>
>>
>> Hi Ferdinand,
>>
>> Ubuntu Touch is already using different volume profiles depending on the
>> context of use, I'm not sure about what the current implementation is like
>> but I'm quite sure you have at least a ringtone and multimedia profiles.
>> This describes how it should work
>> https://wiki.ubuntu.com/Sound#Audio_output_role
>>
>>  Please have a look at this very lengthy but very informative thread if
>> you want to know more :)
>> https://lists.launchpad.net/ubuntu-phone/msg15687.html
>>
>> Cheers,
>> Andrea
>>
>>
>>> Yesterday i didn't even recognize an incoming call, because i set the
>>> volume to low a few hours ago.
>>>
>>> Regards,
>>> Ferdinand
>>>
>>> --
>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

Follow ups

References