diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-12 15:46:10 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-13 08:51:39 -0800 |
commit | b36a7a68af073b1e7fd5cad6aa2c52223fd30efd (patch) | |
tree | ffab4964484a5eac7e9ca8f50a40c03cf4cd4e82 /services/audioflinger/test-resample.cpp | |
parent | 93a7efd45c28becb994f0818ea29c00ec45eea57 (diff) | |
download | frameworks_av-b36a7a68af073b1e7fd5cad6aa2c52223fd30efd.zip frameworks_av-b36a7a68af073b1e7fd5cad6aa2c52223fd30efd.tar.gz frameworks_av-b36a7a68af073b1e7fd5cad6aa2c52223fd30efd.tar.bz2 |
Simplify AudioRecord::restoreTrack_l()
Finish removing CBLK_RESTORING and CBLK_RESTORED from control block flags,
and remove constant RESTORE_TIMEOUT_MS.
Also minor cleanup:
- Cache mCblk in local variable cblk and make cblk allocatable in a register.
- Use "iMem" for sp<IMemory>.
- Add missing error log to AudioRecord; it was already in AudioTrack.
This is part of a series to clean up the control block.
Change-Id: Ia5f5ab4763c392bc06a45851b167ddaee29e3455
Diffstat (limited to 'services/audioflinger/test-resample.cpp')
0 files changed, 0 insertions, 0 deletions