mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
8386ddff78
commit
f7d756460e
3 changed files with 5 additions and 0 deletions
|
|
@ -801,6 +801,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->disable_mmap = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.disable-batch")) {
|
||||
this->disable_batch = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.use-chmap")) {
|
||||
this->props.use_chmap = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -822,6 +822,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->disable_mmap = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.disable-batch")) {
|
||||
this->disable_batch = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
} else if (!strcmp(info->items[i].key, "api.alsa.use-chmap")) {
|
||||
this->props.use_chmap = (strcmp(s, "true") == 0 || atoi(s) == 1);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ rules = [
|
|||
#api.alsa.headroom = 0
|
||||
#api.alsa.disable-mmap = false
|
||||
#api.alsa.disable-batch = false
|
||||
#api.alsa.use-chmap = false
|
||||
#session.suspend-timeout-seconds = 5 # 0 disables suspend
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue