mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
jack: update for async changes
This commit is contained in:
parent
65f9c46525
commit
1887f17cc8
1 changed files with 1 additions and 3 deletions
|
|
@ -560,7 +560,7 @@ static int do_sync(struct client *client)
|
||||||
{
|
{
|
||||||
uint32_t seq;
|
uint32_t seq;
|
||||||
|
|
||||||
seq = pw_core_proxy_sync(client->core_proxy, 0);
|
seq = pw_proxy_sync((struct pw_proxy*)client->core_proxy, client->last_sync);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
pw_thread_loop_wait(client->context.loop);
|
pw_thread_loop_wait(client->context.loop);
|
||||||
|
|
@ -1929,8 +1929,6 @@ jack_client_t * jack_client_open (const char *client_name,
|
||||||
PW_CLIENT_NODE_UPDATE_MAX_OUTPUTS,
|
PW_CLIENT_NODE_UPDATE_MAX_OUTPUTS,
|
||||||
0, 0, 0, NULL, NULL);
|
0, 0, 0, NULL, NULL);
|
||||||
|
|
||||||
pw_proxy_sync((struct pw_proxy*)client->node_proxy);
|
|
||||||
|
|
||||||
if (do_sync(client) < 0)
|
if (do_sync(client) < 0)
|
||||||
goto init_failed;
|
goto init_failed;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue