← Back to team overview

ubuntu-phone team mailing list archive

Re: Context based volume

 

On Thu, Mar 24, 2016 at 2:50 PM, Felipe De La Puente <fdelapuente@xxxxxxxxx>
wrote:

> Hi,
>
> Is there a plan to have sound settings in a per-role basis?
>
>

> I just looked at sound settings: it's all mixed and  I don't see how to
> change settings of the different roles.
>
> The only way that "seems" to work is using the volume buttons when the
> role is active which is challenging. By the way, during a call the volume
> changes are not as linear as I expected (nexus 4), often getting on mute
> while trying to reduce the volume.
>
> Anyone noticed that?
>
> Best Regards,
> Felipe.
>
> On Thu, Mar 24, 2016 at 10:53 AM, Jim Hodapp <jim.hodapp@xxxxxxxxxxxxx>
> wrote:
>
>> 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
>>>>
>>>>
>>>
>>
>> --
>> 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