New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 697279 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Remove deprecated parts of audio API

Project Member Reported by tbarzic@chromium.org, Mar 1 2017

Issue description

As part of releasing audio API to apps running in kiosk session, the API has been refactored, deprecating few API members:
* onDeviceChanged event, which has been replaced with more granular events: onMuteChanged, onLEvelChanged, onDeviceListChanged
* getInfo method, which was replaced by getDevices method
* setActiveDevices argument was changed from a string list to DeviceIdLists dictionary
* isMuted property in dictionary passed to setProperties has been deprecated in favor of setMute method
* gain and volume properties in dictionary passed to setProperties method has been replaced with level property

The deprecated functionality has not been completely removed from the API to make transition to the new API version more convenient for the apps that currently use the API (the access to the API is currently whitelisted) - support for deprecated functionality should be removed completely after the apps have had enough time to migrate. This issue will track that effort.

Targeting this for M60, since 2 release cycles should be more than enough for apps to get updated.

 
Labels: M-60

Comment 2 by st...@chromium.org, Mar 3 2017

Cc: r...@chromium.org

Comment 3 by st...@chromium.org, Mar 3 2017

Cc: -st...@chromium.org

Sign in to add a comment