commit | 788040c5189bbdaf567ce4b29ffd1db08ea1020c | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu May 05 08:19:00 2011 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Dec 16 13:28:33 2011 -0800 |
tree | 75cf254063bf823fd2e5ff6c3504ecc2c37bb488 | |
parent | 154a7fbda9b704bc1d23b6f17573016ebb5989be [diff] |
Use switch in AudioMixer::setParameter Replace series of if/then/elses by easier-to-read switch. Also return void instead of status_t, since callers weren't checking it. Assert on bad input parameters. Change-Id: Ie1f0a297977b28501d20e1af819afed9b4750616