WebAPI/AudioChannels: Difference between revisions

Line 146: Line 146:


Ability for the system app to:
Ability for the system app to:
* Turn down the volume of background audio rather than completely silence it when the notification channel is used
* Turn down the volume of background audio rather than completely silence it when the notification channel is used
* Figure out which volume to modify when the user is pressing the volume buttons.
* Figure out which volume to modify when the user is pressing the volume buttons.


Ability for apps to:
Ability for apps to:
* Act as if it's occupying a channel without actually using a media element playing on that channel. This is useful for example to prepare for audio which is about to start playing, or to prepare for turning on the camera.
* Act as if it's occupying a channel without actually using a media element playing on that channel. This is useful for example to prepare for audio which is about to start playing, or to prepare for turning on the camera.
=== Volume control ===


We also have a set of usage scenarios around volume control. We currently have 4 different volumes which makes it tricky to decide which one (or ones) to modify when the user presses the volume buttons. Here's a set of situations where we need to figure out which volume to control:
We also have a set of usage scenarios around volume control. We currently have 4 different volumes which makes it tricky to decide which one (or ones) to modify when the user presses the volume buttons. Here's a set of situations where we need to figure out which volume to control:
Line 161: Line 165:
* When using the built-in fmradio or music app and audio is playing.
* When using the built-in fmradio or music app and audio is playing.
* When using the built-in fmradio or music app and audio is not playing.
* When using the built-in fmradio or music app and audio is not playing.
* User lowers volume to a very low volume, this likely either affects content or ringer volume. Suddenly there's an incoming notification. However since this is a separate volume this can be very loud which is surprising to the user.
* User enters dialer and lowers volume. Then presses DTMF tone buttons and expects this to play at a low volume.
Confirmed users
716

edits