mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
spa: add property to force VM
Also add PIPEWIRE_VM to force a VM type.
This commit is contained in:
parent
ce828af9e1
commit
f27ad659f8
3 changed files with 5 additions and 0 deletions
|
|
@ -259,6 +259,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
if (info) {
|
||||
if ((str = spa_dict_lookup(info, SPA_KEY_CPU_FORCE)) != NULL)
|
||||
this->flags = atoi(str);
|
||||
if ((str = spa_dict_lookup(info, SPA_KEY_CPU_VM_TYPE)) != NULL)
|
||||
this->vm_type = atoi(str);
|
||||
}
|
||||
|
||||
spa_log_debug(this->log, NAME " %p: count:%d align:%d flags:%08x",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue