Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bc02c6b0 authored by Eric Laurent's avatar Eric Laurent Committed by Vlad Popa
Browse files

DO NOT MERGE audio flinger: fix initial mmap stream volume

The initial stream volume values received by a MMAP thread
while the mmap stream is being open by audio policy manager
were ignored because the stream type was not yet initialized (the stream
type is received from audio policy manager when getOutputForAttr
returns).

The fix consists in using the same volume/mute data structure array for
MmapPlaybackThread as for PlaybackThread in order to store all stream
volume and mute values but only use the one corresponding to the
configured mStreamType.

Bug: 284836454
Test: repro steps in bug

Change-Id: If4654c1d9ea7fd109a8ab2b9b2431db71b966243
Merged-In: If4654c1d9ea7fd109a8ab2b9b2431db71b966243
parent a649ebba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment