commit | f3090fa9ce87c45aecb95a2c98a5cfcc2d3ee99a | [log] [tgz] |
---|---|---|
author | Simon Wilson <simonwilson@google.com> | Tue Feb 12 16:41:52 2013 -0800 |
committer | Simon Wilson <simonwilson@google.com> | Tue Feb 12 16:41:55 2013 -0800 |
tree | b4472a9473ef2f9c685c1c90002972cb518f0872 | |
parent | 72c277ef4859f7aa07ac43b3b9cc6754d6e3d505 [diff] |
audio_route: use ctl_index instead of searching Store the ctl_index instead of the ctl in the path so that path_apply() and path_reset() don't have to do a linear search through all the controls each time to locate the index. Change-Id: I0204310df55303dffdf10f68b652a820ca252d95