mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-10 13:30:01 -05: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
|
|
@ -509,7 +509,9 @@ static ssize_t adpcm_transfer(snd_pcm_plugin_t * plugin,
|
|||
}
|
||||
}
|
||||
|
||||
static int adpcm_action(snd_pcm_plugin_t * plugin, snd_pcm_plugin_action_t action)
|
||||
static int adpcm_action(snd_pcm_plugin_t * plugin,
|
||||
snd_pcm_plugin_action_t action,
|
||||
unsigned long udata)
|
||||
{
|
||||
struct adpcm_private_data *data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue