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



Variant of EncodingProfile for audio streams.


Exported types

class (GObject o, IsDescendantOf EncodingAudioProfile o) => IsEncodingAudioProfile o Source #

Type class for types which can be safely cast to EncodingAudioProfile, for instance with toEncodingAudioProfile.

toEncodingAudioProfile :: (MonadIO m, IsEncodingAudioProfile o) => o -> m EncodingAudioProfile Source #

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


Overloaded methods


encodingAudioProfileNew Source #


:: (HasCallStack, MonadIO m) 
=> Caps

format: the Caps

-> Maybe Text

preset: the preset(s) to use on the encoder, can be Nothing

-> Maybe Caps

restriction: the Caps used to restrict the input to the encoder, can be NULL. See encodingProfileGetRestriction for more details.

-> Word32

presence: the number of time this stream must be used. 0 means any number of times (including never)

-> m EncodingAudioProfile

Returns: the newly created EncodingAudioProfile.

Creates a new EncodingAudioProfile

All provided allocatable arguments will be internally copied, so can be safely freed/unreferenced after calling this method.