gi-gstpbutils-1.0.22: GStreamer Plugins Base Utils bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstPbutils.Objects.DiscovererAudioInfo

Description

DiscovererStreamInfo specific to audio streams.

Synopsis

Exported types

newtype DiscovererAudioInfo Source #

Memory-managed wrapper type.

Constructors

DiscovererAudioInfo (ManagedPtr DiscovererAudioInfo) 

Instances

Instances details
Eq DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

GObject DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

ManagedPtrNewtype DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

TypedObject DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

Methods

glibType :: IO GType

IsGValue DiscovererAudioInfo Source #

Convert DiscovererAudioInfo to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

Methods

toGValue :: DiscovererAudioInfo -> IO GValue

fromGValue :: GValue -> IO DiscovererAudioInfo

HasParentTypes DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

type ParentTypes DiscovererAudioInfo Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

type ParentTypes DiscovererAudioInfo = '[DiscovererStreamInfo, Object]

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

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

Instances

Instances details
(GObject o, IsDescendantOf DiscovererAudioInfo o) => IsDiscovererAudioInfo o Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererAudioInfo

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

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