commit | 2650e9661ea1608dfb6b58bc640a66cdbbb6ae58 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Wed Jul 22 18:14:02 2015 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Thu Jul 23 17:44:57 2015 -0700 |
tree | 70b66e87a1061e0b842ca054ca3482950c69ed0e | |
parent | 70c1f74f3d4c43b67949f3e742195d60f4677462 [diff] |
MediaPlayerService: prevent audio_attributes_t race conditions Access to audio attributes fields in Client and AudioOutput was not always locked. Audio attributes field in AudioOutput cannot share the same pointer as Client because it can be indepently accessed. Save the attributes inside AudioOutput instead. Bug 22672670 Change-Id: Ib1002b57b45cea44ff5e6eb115d581dc3beec006