mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
alsa: work on ringbuffer data transport
Add ringbuffer test
This commit is contained in:
parent
0b508db9fc
commit
f0aafb5b51
9 changed files with 589 additions and 113 deletions
|
|
@ -82,6 +82,8 @@ close_request (AsyncPending *p)
|
|||
DBusMessage *m = NULL;
|
||||
ModuleImpl *impl = p->info->impl;
|
||||
|
||||
pinos_log_debug ("pending %p: handle %s", p, p->handle);
|
||||
|
||||
if (!(m = dbus_message_new_method_call ("org.freedesktop.portal.Request",
|
||||
p->handle,
|
||||
"org.freedesktop.portal.Request",
|
||||
|
|
@ -116,6 +118,7 @@ free_pending (PinosAccessData *d)
|
|||
if (!p->handled)
|
||||
close_request(p);
|
||||
|
||||
pinos_log_debug ("pending %p: handle %s", p, p->handle);
|
||||
spa_list_remove (&p->link);
|
||||
free (p->handle);
|
||||
}
|
||||
|
|
@ -134,6 +137,7 @@ add_pending (ClientInfo *cinfo, const char *handle, PinosAccessData *access_data
|
|||
p->handle = strdup (handle);
|
||||
p->access_data = ad;
|
||||
p->handled = false;
|
||||
pinos_log_debug ("pending %p: handle %s", p, handle);
|
||||
|
||||
spa_list_insert (cinfo->async_pending.prev, &p->link);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue