mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
UCM: Allow querying of {Supported,Conflicting}Devices
At any time, one can query: _supporteddevs/<modifier>|<device>/<verb> _conflictingdevs/<modifier>|<device>/<verb> If a verb is current, one can query: _supporteddevs/<modifier>|<device> _conflictingdevs/<modifier>|<device> Note that at most one of the supported/conflicting devs lists has any entries, and when neither is present, all devices are supported. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
547300fb35
commit
32d24f4071
2 changed files with 97 additions and 14 deletions
|
|
@ -205,6 +205,11 @@ int snd_use_case_free_list(const char *list[], int items);
|
|||
* _enadevs - get list of enabled devices
|
||||
* _enamods - get list of enabled modifiers
|
||||
*
|
||||
* _supporteddevs/<modifier>|<device>[/<verb>] - list of supported devices
|
||||
* _conflictingdevs/<modifier>|<device>[/<verb>] - list of conflicting devices
|
||||
* Note that at most one of the supported/conflicting devs lists has
|
||||
* any entries, and when neither is present, all devices are supported.
|
||||
*
|
||||
*/
|
||||
int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
|
||||
const char *identifier,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue