commit | be645507a3ded6a481375419c8185e17c66dcb37 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Thu Mar 22 13:48:18 2018 -0700 |
committer | Phil Burk <philburk@google.com> | Fri Mar 23 11:10:30 2018 -0700 |
tree | d938ff05ee88f29968a6de963584e7b235f5f01a | |
parent | 142a00d21641393bb65a2484c0306f7c49ae9cb8 [diff] |
aaudio: pass smart pointer to mixer thread Before this, the mixer thread could close the stream using a stale pointer. This could cause timeouts when plugging headphones in or out. Bug: 76092458 Test: write_sine_callback -m3 -pl -s1000 Test: unplug and replug headphones many times on Marlin Change-Id: I437eb756686446a75fc5d04bc09d9408816585de