mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fix meter plugin
Fix the wrong mmap with meter plugin.
This commit is contained in:
parent
2a438a6eec
commit
eb7d61d08c
1 changed files with 1 additions and 0 deletions
|
|
@ -575,6 +575,7 @@ int snd_pcm_meter_open(snd_pcm_t **pcmp, const char *name, unsigned int frequenc
|
|||
return err;
|
||||
}
|
||||
pcm->mmap_rw = 1;
|
||||
pcm->mmap_shadow = 1;
|
||||
pcm->ops = &snd_pcm_meter_ops;
|
||||
pcm->fast_ops = &snd_pcm_meter_fast_ops;
|
||||
pcm->private_data = meter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue