-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio_route: check no used before mixer reset
The audio_route_update_path is used for enabling/disabling audio paths by HAL, and all mixer controls will be reset in a path when the path is disabled by HAL. However, some mixer controls are used by multiple audio paths then such disabling operation might cause the failure on other paths. To prevent from resetting the used controls, add the active count for checking if the control can be reset before actually setting the mixer control. Bug: 117310706 Bug: 118646089 Test: VoIP (FB Messenger/Hangouts/Skype) Change-Id: I9c25e9a9651fe27052b52155801ab54ec19156ee Signed-off-by: HW Lee <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters