mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
API for device name lists and timer enhancements
- new snd_names_list and snd_names_list_free functions - added snd_timer_ginfo related functions to the timer API
This commit is contained in:
parent
f658e3e148
commit
a022bc1fbc
6 changed files with 388 additions and 2 deletions
|
|
@ -170,6 +170,19 @@ int snd_config_get_bool(const snd_config_t *conf);
|
|||
int snd_config_get_ctl_iface_ascii(const char *ascii);
|
||||
int snd_config_get_ctl_iface(const snd_config_t *conf);
|
||||
|
||||
/* Names functions */
|
||||
|
||||
typedef struct snd_devname snd_devname_t;
|
||||
|
||||
struct snd_devname {
|
||||
char *name;
|
||||
char *comment;
|
||||
snd_devname_t *next;
|
||||
};
|
||||
|
||||
int snd_names_list(const char *interface, snd_devname_t **list);
|
||||
void snd_names_list_free(snd_devname_t *list);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -177,4 +190,3 @@ int snd_config_get_ctl_iface(const snd_config_t *conf);
|
|||
#endif
|
||||
|
||||
#endif /* __ALSA_CONF_H */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue