googlearchive / android-audio-high-performance

We now recommend you use the Oboe libraries:
https://github.com/google/oboe
Apache License 2.0
720 stars 275 forks source link

[aaudio/echo] FAST mixer denied when using channel count = 2 #81

Closed dturner closed 7 years ago

dturner commented 7 years ago

The echo sample will have higher than expected latency on Android O because due to bug (id 66967812) when requesting 2 channel input you will not receive a FAST track. App should be updated to use only 1 channel for input, then duplicate each frame for the stereo output.

dturner commented 7 years ago

Fixed in https://github.com/googlesamples/android-audio-high-performance/commit/d269d62921d41f553cc742e4ea21b9d7c1789466