Class

PwgAudioFormat

since: 0.1

Description [src]

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

Immutable negotiated audio format descriptor.

Stability: Unstable

Available since: 0.1

Ancestors

Constructors

pwg_audio_format_new

Creates an immutable audio format descriptor.

since: 0.1

Instance methods

pwg_audio_format_get_bytes_per_frame

Gets the bytes used by one interleaved frame.

since: 0.1

pwg_audio_format_get_bytes_per_sample

Gets the bytes used by one single-channel sample.

since: 0.1

pwg_audio_format_get_channels

Gets the channel count.

since: 0.1

pwg_audio_format_get_rate

Gets the sample rate in Hz.

since: 0.1

pwg_audio_format_get_sample_format

Gets the PipeWire/SPA sample format name.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pwg.AudioFormat:bytes-per-frame

Bytes per interleaved frame.

since: 0.1

Pwg.AudioFormat:bytes-per-sample

Bytes per single-channel sample.

since: 0.1

Pwg.AudioFormat:channels

Channel count.

since: 0.1

Pwg.AudioFormat:rate

Sample rate in Hz.

since: 0.1

Pwg.AudioFormat:sample-format

PipeWire/SPA sample format name.

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 PwgAudioFormatClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.