context: pass quantum_limit when loading plugins

This commit is contained in:
Wim Taymans 2022-01-12 17:47:58 +01:00
parent 676bed734c
commit 4e5ab4bcbe
2 changed files with 15 additions and 2 deletions

View file

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