gi-gstpbutils-1.0.25: GStreamer Plugins Base Utils bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
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) 

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

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.