gi-gstpbutils-1.0.20: GStreamer Plugins Base Utils bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstPbutils.Objects.EncodingAudioProfile

Contents

Description

Variant of EncodingProfile for audio streams.

Synopsis

Exported types

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.