commit | b36a7a68af073b1e7fd5cad6aa2c52223fd30efd | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Nov 12 15:46:10 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Tue Nov 13 08:51:39 2012 -0800 |
tree | ffab4964484a5eac7e9ca8f50a40c03cf4cd4e82 | |
parent | 93a7efd45c28becb994f0818ea29c00ec45eea57 [diff] |
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