Fix meter plugin

Fix the wrong mmap with meter plugin.
This commit is contained in:
Takashi Iwai 2005-12-22 16:24:27 +00:00
parent 2a438a6eec
commit eb7d61d08c

View file

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