commit | 63b31c18b37409e1b024c50df94798aac9d0fa7d | [log] [tgz] |
---|---|---|
author | Ravi Kumar Alamanda <ralama@codeaurora.org> | Fri May 24 18:02:24 2013 -0700 |
committer | Simon Wilson <simonwilson@google.com> | Tue Jun 25 10:48:14 2013 -0700 |
tree | 2e601547e3bb642c0dd6f55055594e99e3b343a0 | |
parent | d2fc692b2362eed62a34343cc7fd23d783401b63 [diff] |
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