Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
AudioFilter
is a BaseTransform
-derived base class for simple audio
filters, ie. those that output the same format that they get as input.
AudioFilter
will parse the input format for you (with error checking)
before calling your setup function. Also, elements deriving from
AudioFilter
may use audioFilterClassAddPadTemplates
from
their class_init function to easily configure the set of caps/formats that
the element is able to handle.
Derived classes should override the AudioFilterClass
.setup
() and
BaseTransformClass
.transform_ip
() and/or
BaseTransformClass
.transform
()
virtual functions in their class_init function.
Synopsis
- newtype AudioFilter = AudioFilter (ManagedPtr AudioFilter)
- class (GObject o, IsDescendantOf AudioFilter o) => IsAudioFilter o
- toAudioFilter :: (MonadIO m, IsAudioFilter o) => o -> m AudioFilter
Exported types
newtype AudioFilter Source #
Memory-managed wrapper type.
Instances
Eq AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter (==) :: AudioFilter -> AudioFilter -> Bool # (/=) :: AudioFilter -> AudioFilter -> Bool # | |
GObject AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter | |
ManagedPtrNewtype AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter | |
TypedObject AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter | |
HasParentTypes AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter | |
IsGValue (Maybe AudioFilter) Source # | Convert |
Defined in GI.GstAudio.Objects.AudioFilter gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe AudioFilter -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe AudioFilter) # | |
type ParentTypes AudioFilter Source # | |
Defined in GI.GstAudio.Objects.AudioFilter |
class (GObject o, IsDescendantOf AudioFilter o) => IsAudioFilter o Source #
Type class for types which can be safely cast to AudioFilter
, for instance with toAudioFilter
.
Instances
(GObject o, IsDescendantOf AudioFilter o) => IsAudioFilter o Source # | |
Defined in GI.GstAudio.Objects.AudioFilter |
toAudioFilter :: (MonadIO m, IsAudioFilter o) => o -> m AudioFilter Source #
Cast to AudioFilter
, 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
Methods
abortState, addControlBinding, addPad, addPropertyDeepNotifyWatch, addPropertyNotifyWatch, bindProperty, bindPropertyFull, callAsync, changeState, continueState, createAllPads, defaultError, forceFloating, foreachPad, foreachSinkPad, foreachSrcPad, freezeNotify, getv, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, isFloating, isInPlace, isLockedState, isPassthrough, isQosEnabled, iteratePads, iterateSinkPads, iterateSrcPads, link, linkFiltered, linkPads, linkPadsFiltered, linkPadsFull, lostState, messageFull, messageFullWithDetails, noMorePads, notify, notifyByPspec, postMessage, provideClock, query, queryConvert, queryDuration, queryPosition, reconfigure, reconfigureSink, reconfigureSrc, ref, refSink, releaseRequestPad, removeControlBinding, removePad, removePropertyNotifyWatch, requestPad, requestPadSimple, runDispose, seek, seekSimple, sendEvent, stealData, stealQdata, suggestNextSync, syncStateWithParent, syncValues, thawNotify, unlink, unlinkPads, unparent, unref, updateQos, updateSrcCaps, watchClosure.
Getters
getAllocator, getBaseTime, getBufferPool, getBus, getClock, getCompatiblePad, getCompatiblePadTemplate, getContext, getContextUnlocked, getContexts, getControlBinding, getControlRate, getCurrentClockTime, getCurrentRunningTime, getData, getFactory, getGValueArray, getMetadata, getName, getPadTemplate, getPadTemplateList, getParent, getPathString, getProperty, getQdata, getRequestPad, getStartTime, getState, getStaticPad, getValue.
Setters
setBaseTime, setBus, setClock, setContext, setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setData, setDataFull, setGapAware, setInPlace, setLockedState, setName, setParent, setPassthrough, setPreferPassthrough, setProperty, setQosEnabled, setStartTime, setState.