commit | 3d786cb59f5acd5484fa4fb968ba2de9dcf283ad | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon Apr 09 11:58:09 2018 -0700 |
committer | Phil Burk <philburk@google.com> | Fri Apr 13 08:56:04 2018 -0700 |
tree | d993b4be9f42f747a3a180349b1e554ac212732f | |
parent | c0959648b4a3d73212cd16c1f03289eadcbacae0 [diff] |
aaudio: convert I16 input to float This allows an app that requests a LOW_LATENCY FLOAT INPUT stream to get a FAST track when using Legacy mode. This is needed because Legacy AudioRecord does not allow FAST for FLOAT streams. Bug: 38268031 Test: adb shell input_monitor -m1 -pl -f2 Test: adb shell input_monitor_callback -m1 -pl -f2 Test: On Pixel phones you should get actual performanceMode=12 Change-Id: Ia5879ff4904f50bbb5009a3fc058800e53770710