[][src]Crate gstreamer_audio

Re-exports

pub use audio_buffer::AudioBuffer;
pub use audio_buffer::AudioBufferRef;

Modules

audio_buffer
prelude
subclass

Macros

gst_audio_decoder_error

Structs

AudioBaseSink

This is the base class for audio sinks. Subclasses need to implement the ::create_ringbuffer vmethod. This base class will then take care of writing samples to the ringbuffer, synchronisation, clipping and flushing.

AudioBaseSinkClass
AudioBaseSrc

This is the base class for audio sources. Subclasses need to implement the ::create_ringbuffer vmethod. This base class will then take care of reading samples from the ringbuffer, synchronisation and flushing.

AudioBaseSrcClass
AudioClippingMeta
AudioDecoder

This base class is for audio decoders turning encoded data into raw audio samples.

AudioDecoderClass
AudioEncoder

This base class is for audio encoders turning raw audio samples into encoded audio data.

AudioEncoderClass
AudioFlags

Extra audio flags

AudioFormatFlags

The different audio flags that a format info can have.

AudioFormatInfo
AudioFormatIterator
AudioInfo

Information describing audio properties. This information can be filled in from GstCaps with AudioInfo::from_caps.

AudioInfoBuilder
AudioMeta
AudioPackFlags

The different flags that can be used when packing and unpacking.

AudioRingBufferSpec
AudioSink

This is the most simple base class for audio sinks that only requires subclasses to implement a set of simple functions:

AudioSinkClass
AudioSrc

This is the most simple base class for audio sources that only requires subclasses to implement a set of simple functions:

AudioSrcClass
AudioStreamAlign

AudioStreamAlign provides a helper object that helps tracking audio stream alignment and discontinuities, and detects discontinuities if possible.

StreamVolume

This interface is implemented by elements that provide a stream volume. Examples for such elements are volume and playbin.

Enums

AudioChannelPosition

Audio channel positions.

AudioEndianness
AudioFormat

Enum value describing the most common audio formats.

AudioLayout

Layout of the audio samples for the different channels.

AudioRingBufferFormatType

The format of the samples in the ringbuffer.

StreamVolumeFormat

Different representations of a stream volume. StreamVolume::convert_volume allows to convert between the different representations.

Constants

AUDIO_FORMAT_ENCODED
AUDIO_FORMAT_F32
AUDIO_FORMAT_F64
AUDIO_FORMAT_S8
AUDIO_FORMAT_S16
AUDIO_FORMAT_S18
AUDIO_FORMAT_S20
AUDIO_FORMAT_S24
AUDIO_FORMAT_S32
AUDIO_FORMAT_S2432
AUDIO_FORMAT_U8
AUDIO_FORMAT_U16
AUDIO_FORMAT_U18
AUDIO_FORMAT_U20
AUDIO_FORMAT_U24
AUDIO_FORMAT_U32
AUDIO_FORMAT_U2432
AUDIO_FORMAT_UNKNOWN
NONE_AUDIO_BASE_SINK
NONE_AUDIO_BASE_SRC
NONE_AUDIO_DECODER
NONE_AUDIO_ENCODER
NONE_AUDIO_SINK
NONE_AUDIO_SRC
NONE_STREAM_VOLUME

Statics

AUDIO_FORMATS_ALL

Traits

AudioBaseSinkExt

Trait containing all AudioBaseSink methods.

AudioBaseSrcExt

Trait containing all AudioBaseSrc methods.

AudioDecoderExt

Trait containing all AudioDecoder methods.

AudioDecoderExtManual
AudioEncoderExt

Trait containing all AudioEncoder methods.

AudioEncoderExtManual
AudioFormatIteratorExt
AudioFormatIteratorExtRef
StreamVolumeExt

Trait containing all StreamVolume methods.

Functions

audio_buffer_clip
audio_buffer_truncate
audio_make_raw_caps
buffer_reorder_channels
get_channel_reorder_map
reorder_channels