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:
Jaroslav Kysela 2000-03-21 17:36:27 +00:00
parent 43041cbe78
commit 54d348c4d7
5 changed files with 137 additions and 34 deletions

View file

@ -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;