commit | fab5b16079aa549caaf65f1b95ff98c3edbd98ec | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon May 04 15:24:29 2015 -0700 |
committer | Andy Hung <hunga@google.com> | Mon May 04 15:34:15 2015 -0700 |
tree | 4fceb99a3493ac7a422db50e95f5e1683c577542 | |
parent | 0b23c39fd161b04c7f2008b0b245542c3ba8aba0 [diff] |
Fix AudioRecord_BufferSizeTest 1) RecordingState changes are performed synchronously, no need to poll. 2) getRecordingState() returns AudioRecord.RECORDSTATE_STOPPED after creation. 3) Clean up by releasing AudioRecords if there is an exception. Change-Id: I6e98e5100a9d413ddfee04d91d7582b505bd37d1