diff options
author | David.Coutherut <davidx.coutherut@intel.com> | 2013-06-03 13:45:51 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-09-24 13:54:42 +0200 |
commit | 9b42396aa0713be3435e30362bcb6ca52e544bf0 (patch) | |
tree | 4f487ce16c511d06ebe3d2e396372f45348f29f5 /src | |
parent | 867920ca46cc8ddc726bc0d406c454c17b7b9262 (diff) |
Defer filling enum-type mixers information
Currently, all information about all mixers are fetched during mixer_open().
For enum mixers, an additional step gets the string for each enumerated value -
this can lead to a lot of ioctls and take time even when these mixers aren't
used afterward.
Defer fetching integer/string mapping values when needed (when getting/setting
a enum mixer).
Change-Id: I3681699eb55631a2bc7a1e66bf08aff3a845534f
Signed-off-by: David Coutherut <davidx.coutherut@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Author-Tracking-BZ: 113043
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions