David.Coutherut 9b42396aa0 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
2014-09-24 13:54:42 +02:00
2012-12-03 11:09:13 -08:00
2011-05-25 14:05:42 -07:00
2012-12-03 11:09:13 -08:00

tinyalsa: a small library to interface with ALSA in the Linux kernel

The aims are:

- Provide a basic pcm and mixer API
- If it's not absolutely needed, don't add it to the API
- Avoid supporting complex and unnecessary operations that could be
  dealt with at a higher level

S
Description
Third-party open-source software tinyalsa | 三方开源软件tinyalsa
Readme 1.1 MiB
Languages
C 77.3%
C++ 14.9%
Roff 2.1%
Shell 1.9%
Makefile 1.6%
Other 2.2%