mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
The rate plugin was redesigned. Now only whole periods are resampled to
avoid rounding problems and to allow using other "block" algorithms.
This commit is contained in:
parent
75190c6ed2
commit
4a4cc2a301
2 changed files with 792 additions and 130 deletions
|
|
@ -134,6 +134,7 @@ void snd_pcm_plugin_init(snd_pcm_plugin_t *plugin)
|
||||||
memset(plugin, 0, sizeof(snd_pcm_plugin_t));
|
memset(plugin, 0, sizeof(snd_pcm_plugin_t));
|
||||||
plugin->undo_read = snd_pcm_plugin_undo_read;
|
plugin->undo_read = snd_pcm_plugin_undo_read;
|
||||||
plugin->undo_write = snd_pcm_plugin_undo_write;
|
plugin->undo_write = snd_pcm_plugin_undo_write;
|
||||||
|
snd_atomic_write_init(&plugin->watom);
|
||||||
}
|
}
|
||||||
|
|
||||||
int snd_pcm_plugin_close(snd_pcm_t *pcm)
|
int snd_pcm_plugin_close(snd_pcm_t *pcm)
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue