mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
jack: update for seq change
This commit is contained in:
parent
1887f17cc8
commit
cc9fd857ad
1 changed files with 3 additions and 3 deletions
|
|
@ -235,7 +235,7 @@ struct client {
|
||||||
|
|
||||||
struct pw_core_proxy *core_proxy;
|
struct pw_core_proxy *core_proxy;
|
||||||
struct spa_hook core_listener;
|
struct spa_hook core_listener;
|
||||||
uint32_t last_sync;
|
int last_sync;
|
||||||
bool error;
|
bool error;
|
||||||
|
|
||||||
struct pw_registry_proxy *registry_proxy;
|
struct pw_registry_proxy *registry_proxy;
|
||||||
|
|
@ -514,7 +514,7 @@ jack_get_version_string(void)
|
||||||
return "0.0.0.0";
|
return "0.0.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
static int on_sync_reply(void *data, uint32_t id, uint32_t seq)
|
static int on_sync_reply(void *data, uint32_t id, int seq)
|
||||||
{
|
{
|
||||||
struct client *client = data;
|
struct client *client = data;
|
||||||
if (id != 0)
|
if (id != 0)
|
||||||
|
|
@ -558,7 +558,7 @@ static const struct pw_core_proxy_events core_events = {
|
||||||
|
|
||||||
static int do_sync(struct client *client)
|
static int do_sync(struct client *client)
|
||||||
{
|
{
|
||||||
uint32_t seq;
|
int seq;
|
||||||
|
|
||||||
seq = pw_proxy_sync((struct pw_proxy*)client->core_proxy, client->last_sync);
|
seq = pw_proxy_sync((struct pw_proxy*)client->core_proxy, client->last_sync);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue