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
1 file changed
tree: b4472a9473ef2f9c685c1c90002972cb518f0872
  1. audio_effects/
  2. audio_route/
  3. audio_utils/
  4. camera/
  5. CleanSpec.mk