diff options
author | jiabin <jiabin@google.com> | 2018-02-23 17:44:56 -0800 |
---|---|---|
committer | jiabin <jiabin@google.com> | 2018-02-23 17:44:56 -0800 |
commit | f2d8e9c0a89dceeb65257aff7ed4ed8bf39ef960 (patch) | |
tree | eb4e027a6cb9495e61b189fc043752fd02b5adb5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f2c32815ae57cc45678bcc1e51369bda5ed3c2cf (diff) |
Use audio_has_proportional_frames when setting up AudioTrack.
When setting up AudioTrack in JNI, using audio_is_linear_pcm to compute
frame count will make IEC61937 track using a bigger buffer. We should use
audio_has_proportional_frames instead.
Bug: 31914407
Test: Play IEC61937 track and check memory size
Change-Id: I2a907db1d8b256076e1c83b47b67684a539deaaa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions