Loading
Blend MMAP streams for accessibility
There is an accessibility feature called Mono audio. This feature allows stereo audio to be blended into mono audio. Currently, this feature works perfectly in most scenarios. However, this feature is not used when MMAP is enabled. This cl fixes MMAP scenarios. Bug: 69635707 Test: Tested on Bramble and MMAP through the following six scenarios: 1. MMAP Exclusive Mono Audio Enabled 2. MMAP Shared Mono Audio Enabled 3. No MMAP Mono Audio Enabled 4. MMAP Exclusive Mono Audio Disabled 5. MMAP Shared Mono Audio Disabled 6. No MMAP Mono Audio Disabled You can enable Mono Audio from Settings -> Accessibility -> Audio adjustment -> Mono audio With OboeTester playing a different frequency on each ear, this seems to work as expected. atest test_flowgraph Change-Id: I2688f06cc8c6ef0f2965845e65e2582f3cc9788e