mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
flatpak: add flatpak module
Pass LoopUtils to callbacks to make it easier to reschedule timeouts.
This commit is contained in:
parent
a5b39019d1
commit
be528ba7c2
17 changed files with 826 additions and 259 deletions
|
|
@ -409,8 +409,9 @@ do_node_init (PinosStream *stream)
|
|||
}
|
||||
|
||||
static void
|
||||
on_timeout (SpaSource *source,
|
||||
void *data)
|
||||
on_timeout (SpaLoopUtils *utils,
|
||||
SpaSource *source,
|
||||
void *data)
|
||||
{
|
||||
PinosStream *stream = data;
|
||||
add_request_clock_update (stream);
|
||||
|
|
@ -515,7 +516,8 @@ handle_rtnode_event (PinosStream *stream,
|
|||
}
|
||||
|
||||
static void
|
||||
on_rtsocket_condition (SpaSource *source,
|
||||
on_rtsocket_condition (SpaLoopUtils *utils,
|
||||
SpaSource *source,
|
||||
int fd,
|
||||
SpaIO mask,
|
||||
void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue