Functions | |
| int | snd_pcm_hooks_open (snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int close_slave) |
| Creates a new hooks PCM. | |
| int | _snd_pcm_hooks_open (snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) |
| Creates a new hooks PCM. | |
| snd_pcm_t * | snd_pcm_hook_get_pcm (snd_pcm_hook_t *hook) |
| Get PCM handle for a PCM hook. | |
| void * | snd_pcm_hook_get_private (snd_pcm_hook_t *hook) |
| Get callback function private data for a PCM hook. | |
| void | snd_pcm_hook_set_private (snd_pcm_hook_t *hook, void *private_data) |
| Set callback function private data for a PCM hook. | |
| 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) |
| Add a PCM hook at end of hooks chain. | |
| int | snd_pcm_hook_remove (snd_pcm_hook_t *hook) |
| Remove a PCM hook. | |
| int | _snd_pcm_hook_ctl_elems_install (snd_pcm_t *pcm, snd_config_t *conf) |
| Install CTL settings using hardware associated with PCM handle. | |
| int _snd_pcm_hook_ctl_elems_install | ( | snd_pcm_t * | pcm, | |
| snd_config_t * | conf | |||
| ) |
Install CTL settings using hardware associated with PCM handle.
| pcm | PCM handle | |
| conf | Configuration node with CTL settings |
| int _snd_pcm_hooks_open | ( | snd_pcm_t ** | pcmp, | |
| const char * | name, | |||
| snd_config_t * | root, | |||
| snd_config_t * | conf, | |||
| snd_pcm_stream_t | stream, | |||
| int | mode | |||
| ) |
Creates a new hooks PCM.
| pcmp | Returns created PCM handle | |
| name | Name of PCM | |
| root | Root configuration node | |
| conf | Configuration node with hooks PCM description | |
| stream | PCM Stream | |
| mode | PCM Mode |
| zero | on success otherwise a negative error code |
Creates a new hooks PCM.
| pcmp | Returns created PCM handle | |
| name | Name of PCM | |
| slave | Slave PCM | |
| close_slave | If set, slave PCM handle is closed when hooks PCM is closed |
| zero | on success otherwise a negative error code |
1.5.8