mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: add option to disable mmap access mode
This commit is contained in:
parent
2ff4615e53
commit
482f96a644
5 changed files with 17 additions and 8 deletions
|
|
@ -797,6 +797,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->default_period_size = atoi(info->items[i].value);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.headroom")) {
|
||||
this->default_headroom = atoi(info->items[i].value);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.disable-mmap")) {
|
||||
this->disable_mmap = atoi(info->items[i].value);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue