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

Description

Variant of EncodingProfile for audio streams.

Synopsis

Exported types

newtype EncodingAudioProfile Source #

Memory-managed wrapper type.

Constructors

EncodingAudioProfile (ManagedPtr EncodingAudioProfile) 

Instances

Instances details
Eq EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

GObject EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

ManagedPtrNewtype EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

TypedObject EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

Methods

glibType :: IO GType

IsGValue EncodingAudioProfile Source #

Convert EncodingAudioProfile to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

Methods

toGValue :: EncodingAudioProfile -> IO GValue

fromGValue :: GValue -> IO EncodingAudioProfile

HasParentTypes EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

type ParentTypes EncodingAudioProfile Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

type ParentTypes EncodingAudioProfile = '[EncodingProfile, Object]

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

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

Instances

Instances details
(GObject o, IsDescendantOf EncodingAudioProfile o) => IsEncodingAudioProfile o Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingAudioProfile

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.

Methods

Overloaded methods

new

encodingAudioProfileNew Source #

Arguments

:: (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.