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
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_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
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.