gi-gstpbutils-1.0.20: GStreamer Plugins Base Utils 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.GstPbutils.Objects.DiscovererAudioInfo

Contents

Description

DiscovererStreamInfo specific to audio streams.

Synopsis

Exported types

class (GObject o, IsDescendantOf DiscovererAudioInfo o) => IsDiscovererAudioInfo o Source #

Type class for types which can be safely cast to DiscovererAudioInfo, for instance with toDiscovererAudioInfo.

toDiscovererAudioInfo :: (MonadIO m, IsDiscovererAudioInfo o) => o -> m DiscovererAudioInfo Source #

Cast to DiscovererAudioInfo, for types for which this is known to be safe. For general casts, use castTo.

Methods

getBitrate

discovererAudioInfoGetBitrate Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word32

Returns: the average or nominal bitrate of the stream in bits/second.

No description available in the introspection data.

getChannelMask

discovererAudioInfoGetChannelMask Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word64

Returns: the channel-mask of the stream, refer to audioChannelPositionsFromMask for more information.

No description available in the introspection data.

Since: 1.14

getChannels

discovererAudioInfoGetChannels Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word32

Returns: the number of channels in the stream.

No description available in the introspection data.

getDepth

discovererAudioInfoGetDepth Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word32

Returns: the number of bits used per sample in each channel.

No description available in the introspection data.

getLanguage

discovererAudioInfoGetLanguage Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Text

Returns: the language of the stream, or NULL if unknown.

No description available in the introspection data.

getMaxBitrate

discovererAudioInfoGetMaxBitrate Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word32

Returns: the maximum bitrate of the stream in bits/second.

No description available in the introspection data.

getSampleRate

discovererAudioInfoGetSampleRate Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) 
=> a

info: a DiscovererAudioInfo

-> m Word32

Returns: the sample rate of the stream in Hertz.

No description available in the introspection data.