Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
DiscovererStreamInfo
specific to audio streams.
Synopsis
- newtype DiscovererAudioInfo = DiscovererAudioInfo (ManagedPtr DiscovererAudioInfo)
- class (GObject o, IsDescendantOf DiscovererAudioInfo o) => IsDiscovererAudioInfo o
- toDiscovererAudioInfo :: (MonadIO m, IsDiscovererAudioInfo o) => o -> m DiscovererAudioInfo
- discovererAudioInfoGetBitrate :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word32
- discovererAudioInfoGetChannelMask :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word64
- discovererAudioInfoGetChannels :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word32
- discovererAudioInfoGetDepth :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word32
- discovererAudioInfoGetLanguage :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Text
- discovererAudioInfoGetMaxBitrate :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word32
- discovererAudioInfoGetSampleRate :: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) => a -> m Word32
Exported types
newtype DiscovererAudioInfo Source #
Memory-managed wrapper type.
DiscovererAudioInfo (ManagedPtr DiscovererAudioInfo) |
Instances
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
(GObject o, IsDescendantOf DiscovererAudioInfo o) => IsDiscovererAudioInfo o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBitrate, getCaps, getChannelMask, getChannels, getData, getDepth, getLanguage, getMaxBitrate, getMisc, getNext, getPrevious, getProperty, getQdata, getSampleRate, getStreamId, getStreamTypeNick, getTags, getToc.
Setters
getBitrate
discovererAudioInfoGetBitrate Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word32 | Returns: the average or nominal bitrate of the stream in bits/second. |
No description available in the introspection data.
getChannelMask
discovererAudioInfoGetChannelMask Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word64 | Returns: the channel-mask of the stream, refer to
|
No description available in the introspection data.
Since: 1.14
getChannels
discovererAudioInfoGetChannels Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word32 | Returns: the number of channels in the stream. |
No description available in the introspection data.
getDepth
discovererAudioInfoGetDepth Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word32 | Returns: the number of bits used per sample in each channel. |
No description available in the introspection data.
getLanguage
discovererAudioInfoGetLanguage Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Text | Returns: the language of the stream, or NULL if unknown. |
No description available in the introspection data.
getMaxBitrate
discovererAudioInfoGetMaxBitrate Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word32 | Returns: the maximum bitrate of the stream in bits/second. |
No description available in the introspection data.
getSampleRate
discovererAudioInfoGetSampleRate Source #
:: (HasCallStack, MonadIO m, IsDiscovererAudioInfo a) | |
=> a |
|
-> m Word32 | Returns: the sample rate of the stream in Hertz. |
No description available in the introspection data.