aaudio: fix EXCLUSIVE mode interfering with SHARED
The MMAP endpoints were not tracked by the EndpointManager so it could not broker EXCLUSIVE access. To fix this the MMAP stream was refactored to use a per-client stream and a per-device endpoint. Cleanup close() of MMAP stream. Add AAudioServiceEndpointShared.cpp. Extract AAudioServiceEndpointMMAP from AAudioServiceStreamMMAP. Track MMAP endpoints so we can manage EXCLUSIVE and SHARED access. Bug: 64494572 Bug: 64310586 Test: see bug, use write_sine to play a shared stream and a excl stream Change-Id: I5053193abfd9b8a69a2f7e1110739d65e2af5d64 Merged-In: I5053193abfd9b8a69a2f7e1110739d65e2af5d64
Loading
Please register or sign in to comment