commit | 55186024431cda03aa4a9960a1c90b6954412e98 | [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 | 66350a23902e990c311f2a461820ed397ff316ea | |
parent | 91e1ea22fc688967115fb24247b967e513c99d8c [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