mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added argument handling for the slave PCMs.
The configuration root (snd_config) can be specified for the internal routines. The pcm_hooks code was recoded (independent code moved to control/setup.c). Improved the pcm_multi plugin (added master configuration).
This commit is contained in:
parent
61bf03ce70
commit
bf780a25a5
29 changed files with 1179 additions and 1070 deletions
|
|
@ -731,6 +731,7 @@ typedef struct _snd_pcm_hook snd_pcm_hook_t;
|
|||
typedef int (*snd_pcm_hook_func_t)(snd_pcm_hook_t *hook);
|
||||
snd_pcm_t *snd_pcm_hook_get_pcm(snd_pcm_hook_t *hook);
|
||||
void *snd_pcm_hook_get_private(snd_pcm_hook_t *hook);
|
||||
void snd_pcm_hook_set_private(snd_pcm_hook_t *hook, void *private_data);
|
||||
int snd_pcm_hook_add(snd_pcm_hook_t **hookp, snd_pcm_t *pcm,
|
||||
snd_pcm_hook_type_t type,
|
||||
snd_pcm_hook_func_t func, void *private_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue