mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: pass quantum_limit when loading plugins
This commit is contained in:
parent
676bed734c
commit
4e5ab4bcbe
2 changed files with 15 additions and 2 deletions
|
|
@ -242,6 +242,13 @@ struct pw_impl_node *pw_spa_node_load(struct pw_context *context,
|
|||
int res;
|
||||
struct spa_handle *handle;
|
||||
void *iface;
|
||||
const struct pw_properties *p;
|
||||
|
||||
if (properties) {
|
||||
p = pw_context_get_properties(context);
|
||||
pw_properties_set(properties, "clock.quantum-limit",
|
||||
pw_properties_get(p, "default.clock.quantum-limit"));
|
||||
}
|
||||
|
||||
handle = pw_context_load_spa_handle(context,
|
||||
factory_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue