mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Removed snd_config_string_replace function.
Added back modified snd_config_refer_load function.
Added snd_func_private_pcm_subdevice function.
Removed the callback from the snd_sctl_build function (no more required).
Modified alsa.conf to use refer {} blocks again.
Modified card specific conf files to use new snd_func_private_pcm_subdevice function.
This commit is contained in:
parent
2ced309ee8
commit
3a993b4a3e
10 changed files with 304 additions and 314 deletions
|
|
@ -95,10 +95,8 @@ int snd_config_get_ctl_iface(snd_config_t *conf);
|
|||
|
||||
typedef int (snd_config_string_replace_callback_t)(const char *what, char **dst, void *private_data);
|
||||
|
||||
int snd_config_string_replace(const char *src, char idchr,
|
||||
snd_config_string_replace_callback_t *callback,
|
||||
void *private_data,
|
||||
char **dst);
|
||||
int snd_config_refer_load(snd_config_t **dst, char **name,
|
||||
snd_config_t *root, snd_config_t *config);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -266,7 +266,6 @@ int snd_card_type_string_to_enum(const char *strid, snd_card_type_t *enumid);
|
|||
int snd_card_type_enum_to_string(snd_card_type_t enumid, char **strid);
|
||||
|
||||
int snd_sctl_build(snd_sctl_t **ctl, snd_ctl_t *handle, snd_config_t *config,
|
||||
snd_config_string_replace_callback_t *callback,
|
||||
void *private_data, int mode);
|
||||
int snd_sctl_free(snd_sctl_t *handle);
|
||||
int snd_sctl_install(snd_sctl_t *handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue