mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
Cleaned the mmap_commit implementations in plugins.
Added undo callbacks for snd_pcm_plugin based plugins. - helpers when mmap_commit proceed only a partial transfer Fixes to avail_update implementation in pcm_hw.c.
This commit is contained in:
parent
9b0eebbcb7
commit
e128bf856e
22 changed files with 260 additions and 120 deletions
|
|
@ -553,6 +553,7 @@ int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sfor
|
|||
return -ENOMEM;
|
||||
}
|
||||
adpcm->sformat = sformat;
|
||||
snd_pcm_plugin_init(&adpcm->plug);
|
||||
adpcm->plug.read = snd_pcm_adpcm_read_areas;
|
||||
adpcm->plug.write = snd_pcm_adpcm_write_areas;
|
||||
adpcm->plug.init = snd_pcm_adpcm_init;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue