Class

PwgAudioBlock

since: 0.1

Description [src]

final class Pwg.AudioBlock : GObject.Object
{
  /* No available fields */
}

Immutable copied interleaved audio sample block.

Audio blocks own their sample bytes and never expose realtime PipeWire buffer ownership to language bindings.

Stability: Unstable

Available since: 0.1

Ancestors

Constructors

pwg_audio_block_new

Creates an immutable audio block with owned sample data. The block never exposes PipeWire realtime buffer ownership to language bindings.

since: 0.1

Instance methods

pwg_audio_block_get_data

Gets a new reference to the copied interleaved sample bytes.

since: 0.1

pwg_audio_block_get_format

Gets the audio format descriptor for this block.

since: 0.1

pwg_audio_block_get_n_frames

Gets the number of interleaved frames in this block.

since: 0.1

pwg_audio_block_get_peak

Gets the absolute sample peak measured while copying this block.

since: 0.1

pwg_audio_block_get_sequence

Gets the monotonic stream-local sequence number for this block.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pwg.AudioBlock:data

Copied interleaved audio sample bytes.

since: 0.1

Pwg.AudioBlock:format

Audio format descriptor for this block.

since: 0.1

Pwg.AudioBlock:n-frames

Number of interleaved frames in the block.

since: 0.1

Pwg.AudioBlock:peak

Absolute sample peak in this block.

since: 0.1

Pwg.AudioBlock:sequence

Monotonic stream-local block sequence number.

since: 0.1

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PwgAudioBlockClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.