mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
profiler: place rate suggestion in latency if given
This commit is contained in:
parent
da072d6613
commit
0cab700c06
1 changed files with 2 additions and 0 deletions
|
|
@ -246,6 +246,8 @@ static void context_do_profile(void *data, struct pw_impl_node *node)
|
|||
latency.num = n->force_quantum;
|
||||
if (n->force_rate != 0)
|
||||
latency.denom = n->force_rate;
|
||||
else if (n->rate.denom != 0)
|
||||
latency.denom = n->rate.denom;
|
||||
|
||||
na = n->rt.activation;
|
||||
spa_pod_builder_prop(&b, SPA_PROFILER_followerBlock, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue