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
|
|
@ -376,8 +376,9 @@ static const PinosRegistryEvents registry_events = {
|
|||
typedef bool (*PinosDemarshalFunc) (void *object, void *data, size_t size);
|
||||
|
||||
static void
|
||||
do_flush_event (SpaSource *source,
|
||||
void *data)
|
||||
do_flush_event (SpaLoopUtils *utils,
|
||||
SpaSource *source,
|
||||
void *data)
|
||||
{
|
||||
PinosContextImpl *impl = data;
|
||||
if (impl->connection)
|
||||
|
|
@ -394,10 +395,11 @@ on_need_flush (PinosListener *listener,
|
|||
}
|
||||
|
||||
static void
|
||||
on_context_data (SpaSource *source,
|
||||
int fd,
|
||||
SpaIO mask,
|
||||
void *data)
|
||||
on_context_data (SpaLoopUtils *utils,
|
||||
SpaSource *source,
|
||||
int fd,
|
||||
SpaIO mask,
|
||||
void *data)
|
||||
{
|
||||
PinosContextImpl *impl = data;
|
||||
PinosContext *this = &impl->this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue