gi-gstaudio-1.0.20: GStreamerAudio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstAudio.Structs.AudioMeta

Contents

Description

AudioDownmixMeta defines an audio downmix matrix to be send along with audio buffers. These functions in this module help to create and attach the meta as well as extracting it.

Since: 1.16

Synopsis

Exported types

newtype AudioMeta Source #

Memory-managed wrapper type.

newZeroAudioMeta :: MonadIO m => m AudioMeta Source #

Construct a AudioMeta struct initialized to zero.

noAudioMeta :: Maybe AudioMeta Source #

A convenience alias for Nothing :: Maybe AudioMeta.

Methods

getInfo

audioMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #

No description available in the introspection data.

Properties

info

the audio properties of the buffer

getAudioMetaInfo :: MonadIO m => AudioMeta -> m AudioInfo Source #

Get the value of the “info” field. When overloading is enabled, this is equivalent to

get audioMeta #info

meta

parent Meta

getAudioMetaMeta :: MonadIO m => AudioMeta -> m Meta Source #

Get the value of the “meta” field. When overloading is enabled, this is equivalent to

get audioMeta #meta

offsets

the offsets (in bytes) where each channel plane starts in the buffer or Nothing if the buffer has interleaved layout; if not Nothing, this is guaranteed to be an array of info.channels elements

getAudioMetaOffsets :: MonadIO m => AudioMeta -> m Word64 Source #

Get the value of the “offsets” field. When overloading is enabled, this is equivalent to

get audioMeta #offsets

setAudioMetaOffsets :: MonadIO m => AudioMeta -> Word64 -> m () Source #

Set the value of the “offsets” field. When overloading is enabled, this is equivalent to

set audioMeta [ #offsets := value ]

samples

the number of valid samples in the buffer

getAudioMetaSamples :: MonadIO m => AudioMeta -> m Word64 Source #

Get the value of the “samples” field. When overloading is enabled, this is equivalent to

get audioMeta #samples

setAudioMetaSamples :: MonadIO m => AudioMeta -> Word64 -> m () Source #

Set the value of the “samples” field. When overloading is enabled, this is equivalent to

set audioMeta [ #samples := value ]