Detailed Description
See the PCM (digital audio) interface page for more details.
Typedef Documentation
PCM hook callback function
Enumeration Type Documentation
Function Documentation
Add a PCM hook at end of hooks chain.
- Parameters:
-
| hookp | Returned PCM hook handle - Parameters:
-
| pcm | PCM handle - Parameters:
-
| type | PCM hook type - Parameters:
-
| func | PCM hook callback function - Parameters:
-
| private_data | PCM hook private data - Returns:
- 0 on success otherwise a negative error code
Warning: an hook callback function cannot remove an hook of the same type different from itself |
|
|
|
|
Get PCM handle for a PCM hook.
- Parameters:
-
| hook | PCM hook handle - Returns:
- PCM handle
|
Get callback function private data for a PCM hook.
- Parameters:
-
| hook | PCM hook handle - Returns:
- callback function private data
|
Remove a PCM hook.
- Parameters:
-
| hook | PCM hook handle - Returns:
- 0 on success otherwise a negative error code
Warning: an hook callback cannot remove an hook of the same type different from itself |
void snd_pcm_hook_set_private |
( |
snd_pcm_hook_t * |
hook, |
|
|
void * |
private_data | |
|
) |
| | |
Set callback function private data for a PCM hook.
- Parameters:
-
| hook | PCM hook handle - Parameters:
-
| private_data | The private data value |
|