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
2 files changed
tree: 75cf254063bf823fd2e5ff6c3504ecc2c37bb488
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/