mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Plugin updates. The action callback has a new argument.
The mmap plugin is updated to accept frags_min & frags_max. Also, SND_PCM_STOP_ROLLOVER behaves much better.
This commit is contained in:
parent
43041cbe78
commit
54d348c4d7
5 changed files with 137 additions and 34 deletions
|
|
@ -86,7 +86,9 @@ struct snd_stru_pcm_plugin {
|
|||
char *dst_ptr, size_t dst_size);
|
||||
ssize_t (*src_size)(snd_pcm_plugin_t *plugin, size_t dst_size);
|
||||
ssize_t (*dst_size)(snd_pcm_plugin_t *plugin, size_t src_size);
|
||||
int (*action)(snd_pcm_plugin_t *plugin, snd_pcm_plugin_action_t action);
|
||||
int (*action)(snd_pcm_plugin_t *plugin,
|
||||
snd_pcm_plugin_action_t action,
|
||||
unsigned long data);
|
||||
snd_pcm_plugin_t *prev;
|
||||
snd_pcm_plugin_t *next;
|
||||
void *private_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue