Signal

PwgStream::audio-block

since: 0.1

Declaration

void
audio_block (
  PwgStream* self,
  PwgAudioBlock* block,
  gpointer user_data
)

Description [src]

Emitted from the object’s construction thread-default main context when a copied audio block is available. Enable this signal with pwg_stream_set_deliver_audio_blocks().

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Stability: Unstable
Available since: 0.1

Parameters

block

Type: PwgAudioBlock

Copied audio sample data and format metadata.

The data is owned by the caller of the function.