class

Pipewire::Core

Inherits Pipewire::EventListener < Pipewire::Base < Reference < Object

Constants

EVENT_LISTENER_VERSION = LibPipewire::VERSION_CORE_EVENTS

Constructors

new(pointer : Pointer(T))
Source

Instance methods

create_stream(name, properties) : Stream
Source
finalize
Source
on_add_mem

Registers the block as a new handler for the event add_mem.

A reference to the returned instance of EventListenerAddMem is held by self, until EventListenerAddMem#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerAddMem also holds a reference to self.

Source
on_bound_id

Registers the block as a new handler for the event bound_id.

A reference to the returned instance of EventListenerBoundId is held by self, until EventListenerBoundId#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerBoundId also holds a reference to self.

Source
on_bound_props

Registers the block as a new handler for the event bound_props.

A reference to the returned instance of EventListenerBoundProps is held by self, until EventListenerBoundProps#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerBoundProps also holds a reference to self.

Source
on_done

Registers the block as a new handler for the event done.

A reference to the returned instance of EventListenerDone is held by self, until EventListenerDone#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerDone also holds a reference to self.

Source
on_error

Registers the block as a new handler for the event error.

A reference to the returned instance of EventListenerError is held by self, until EventListenerError#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerError also holds a reference to self.

Source
on_info

Registers the block as a new handler for the event info.

A reference to the returned instance of EventListenerInfo is held by self, until EventListenerInfo#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerInfo also holds a reference to self.

Source
on_ping

Registers the block as a new handler for the event ping.

A reference to the returned instance of EventListenerPing is held by self, until EventListenerPing#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerPing also holds a reference to self.

Source
on_remove_id

Registers the block as a new handler for the event remove_id.

A reference to the returned instance of EventListenerRemoveId is held by self, until EventListenerRemoveId#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerRemoveId also holds a reference to self.

Source
on_remove_mem

Registers the block as a new handler for the event remove_mem.

A reference to the returned instance of EventListenerRemoveMem is held by self, until EventListenerRemoveMem#remove is called. This prevents the garbage collector from collecting the event handler. The instance of EventListenerRemoveMem also holds a reference to self.

Source
registry
Source
remove_event_listeners

Removes each event handler registered on this instance.

Source
sync(seq)
Source

Nested types