audio_route: use mixer_ctl_get/set_array

Rather than make individual calls to tinyalsa for every
value in each mixer control, which is expensive for linked
controls, use the array get/set functions instead. This
reduces the number of system calls that tinyalsa has to
make. The majority of controls are linked and have 1 or 2
values so the CPU overhead is small.

Change-Id: If32cb8c639e113403641cab0d68b32799cebb059
1 file changed
tree: 2e601547e3bb642c0dd6f55055594e99e3b343a0
  1. audio_effects/
  2. audio_route/
  3. audio_utils/
  4. camera/
  5. CleanSpec.mk