jack: FORCE_RATE should just contain the rate

This commit is contained in:
Wim Taymans 2024-02-26 17:04:21 +01:00
parent c0966f026a
commit 1b407d1c6d

View file

@ -3959,7 +3959,7 @@ jack_client_t * jack_client_open (const char *client_name,
struct spa_fraction q;
if (sscanf(str, "%u/%u", &q.num, &q.denom) == 2 && q.denom != 0) {
pw_properties_setf(client->props, PW_KEY_NODE_FORCE_RATE,
"1/%u", q.denom);
"%u", q.denom);
pw_properties_setf(client->props, PW_KEY_NODE_FORCE_QUANTUM,
"%u", q.num);
} else {