commit | ea04d97050e778e7cefb755b442156310afada05 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon Aug 07 12:30:44 2017 -0700 |
committer | Phil Burk <philburk@google.com> | Mon Aug 07 14:34:55 2017 -0700 |
tree | bb9a6566e18b07b6a14236713b9e4eb6253c14ba | |
parent | fc32901189f8655d3d51064a0366ec9d8264940d [diff] |
aaudio: stop buzzing when MMAP stream disconnected When a stream is disconnected, clear the MMAP memory buffer to prevent the hardware from looping on stale data and making a buzzing sound. Bug: 63342351 Test: play GStomper with AAudio through headphones and then unplug them Change-Id: I6372b0a031dea242e3830cc2d226a4c043d4467e