gi-ges-1.0.4: libges bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GES.Objects.AudioTestSource

Description

Outputs a test audio stream using audiotestsrc. The default property values output silence. Useful for testing pipelines, or to fill gaps in an audio track.

Synopsis

Exported types

newtype AudioTestSource Source #

Memory-managed wrapper type.

Constructors

AudioTestSource (ManagedPtr AudioTestSource) 

Instances

Instances details
Eq AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

GObject AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

ManagedPtrNewtype AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

TypedObject AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

Methods

glibType :: IO GType

HasParentTypes AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

IsGValue (Maybe AudioTestSource) Source #

Convert AudioTestSource to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GES.Objects.AudioTestSource

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe AudioTestSource -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe AudioTestSource)

type ParentTypes AudioTestSource Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

class (GObject o, IsDescendantOf AudioTestSource o) => IsAudioTestSource o Source #

Type class for types which can be safely cast to AudioTestSource, for instance with toAudioTestSource.

Instances

Instances details
(GObject o, IsDescendantOf AudioTestSource o) => IsAudioTestSource o Source # 
Instance details

Defined in GI.GES.Objects.AudioTestSource

toAudioTestSource :: (MonadIO m, IsAudioTestSource o) => o -> m AudioTestSource Source #

Cast to AudioTestSource, 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

Expand

Methods

addChildProperty, addChildrenProps, addMetasFromString, bindProperty, bindPropertyFull, checkMetaRegistered, clampControlSource, copy, edit, editFull, forceFloating, foreach, freezeNotify, getv, hasInternalSource, isActive, isCore, isFloating, listChildrenProperties, lookupChild, metasToString, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, removeChildProperty, removeControlBinding, ripple, rippleEnd, rollEnd, rollStart, runDispose, stealData, stealQdata, thawNotify, trim, unref, watchClosure.

Getters

getAllControlBindings, getAsset, getAutoClampControlSources, getBoolean, getChildProperty, getChildPropertyByPspec, getControlBinding, getData, getDate, getDateTime, getDouble, getDuration, getElement, getFloat, getFreq, getGnlobject, getId, getInpoint, getInt, getInt64, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getNleobject, getParent, getPriority, getProperty, getQdata, getStart, getString, getTimeline, getToplevelParent, getTrack, getTrackType, getTrackTypes, getUint, getUint64, getVolume.

Setters

setActive, setAsset, setAutoClampControlSources, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setControlSource, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setFreq, setHasInternalSource, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setTimeline, setTrackType, setUint, setUint64, setVolume.

getFreq

audioTestSourceGetFreq Source #

Arguments

:: (HasCallStack, MonadIO m, IsAudioTestSource a) 
=> a

self: a AudioTestSource

-> m Double

Returns: The current frequency of self.

Get the current frequency of self.

getVolume

audioTestSourceGetVolume Source #

Arguments

:: (HasCallStack, MonadIO m, IsAudioTestSource a) 
=> a

self: a AudioTestSource

-> m Double

Returns: The current volume of self

Get the current volume of self.

setFreq

audioTestSourceSetFreq Source #

Arguments

:: (HasCallStack, MonadIO m, IsAudioTestSource a) 
=> a

self: a AudioTestSource

-> Double

freq: The frequency you want to apply on self

-> m () 

Lets you set the frequency applied on the track element

setVolume

audioTestSourceSetVolume Source #

Arguments

:: (HasCallStack, MonadIO m, IsAudioTestSource a) 
=> a

self: a AudioTestSource

-> Double

volume: The volume you want to apply on self

-> m () 

Sets the volume of the test audio signal.