{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.GstAudio.Objects.AudioAggregatorPad
(
AudioAggregatorPad(..) ,
IsAudioAggregatorPad ,
toAudioAggregatorPad ,
#if defined(ENABLE_OVERLOADING)
ResolveAudioAggregatorPadMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
AudioAggregatorPadQosMessagesPropertyInfo,
#endif
#if defined(ENABLE_OVERLOADING)
audioAggregatorPadQosMessages ,
#endif
constructAudioAggregatorPadQosMessages ,
getAudioAggregatorPadQosMessages ,
setAudioAggregatorPadQosMessages ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gst.Objects.Object as Gst.Object
import qualified GI.Gst.Objects.Pad as Gst.Pad
import qualified GI.GstBase.Objects.AggregatorPad as GstBase.AggregatorPad
newtype AudioAggregatorPad = AudioAggregatorPad (SP.ManagedPtr AudioAggregatorPad)
deriving (AudioAggregatorPad -> AudioAggregatorPad -> Bool
(AudioAggregatorPad -> AudioAggregatorPad -> Bool)
-> (AudioAggregatorPad -> AudioAggregatorPad -> Bool)
-> Eq AudioAggregatorPad
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AudioAggregatorPad -> AudioAggregatorPad -> Bool
$c/= :: AudioAggregatorPad -> AudioAggregatorPad -> Bool
== :: AudioAggregatorPad -> AudioAggregatorPad -> Bool
$c== :: AudioAggregatorPad -> AudioAggregatorPad -> Bool
Eq)
instance SP.ManagedPtrNewtype AudioAggregatorPad where
toManagedPtr :: AudioAggregatorPad -> ManagedPtr AudioAggregatorPad
toManagedPtr (AudioAggregatorPad ManagedPtr AudioAggregatorPad
p) = ManagedPtr AudioAggregatorPad
p
foreign import ccall "gst_audio_aggregator_pad_get_type"
c_gst_audio_aggregator_pad_get_type :: IO B.Types.GType
instance B.Types.TypedObject AudioAggregatorPad where
glibType :: IO GType
glibType = IO GType
c_gst_audio_aggregator_pad_get_type
instance B.Types.GObject AudioAggregatorPad
class (SP.GObject o, O.IsDescendantOf AudioAggregatorPad o) => IsAudioAggregatorPad o
instance (SP.GObject o, O.IsDescendantOf AudioAggregatorPad o) => IsAudioAggregatorPad o
instance O.HasParentTypes AudioAggregatorPad
type instance O.ParentTypes AudioAggregatorPad = '[GstBase.AggregatorPad.AggregatorPad, Gst.Pad.Pad, Gst.Object.Object, GObject.Object.Object]
toAudioAggregatorPad :: (MIO.MonadIO m, IsAudioAggregatorPad o) => o -> m AudioAggregatorPad
toAudioAggregatorPad :: forall (m :: * -> *) o.
(MonadIO m, IsAudioAggregatorPad o) =>
o -> m AudioAggregatorPad
toAudioAggregatorPad = IO AudioAggregatorPad -> m AudioAggregatorPad
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO AudioAggregatorPad -> m AudioAggregatorPad)
-> (o -> IO AudioAggregatorPad) -> o -> m AudioAggregatorPad
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr AudioAggregatorPad -> AudioAggregatorPad)
-> o -> IO AudioAggregatorPad
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr AudioAggregatorPad -> AudioAggregatorPad
AudioAggregatorPad
instance B.GValue.IsGValue (Maybe AudioAggregatorPad) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gst_audio_aggregator_pad_get_type
gvalueSet_ :: Ptr GValue -> Maybe AudioAggregatorPad -> IO ()
gvalueSet_ Ptr GValue
gv Maybe AudioAggregatorPad
P.Nothing = Ptr GValue -> Ptr AudioAggregatorPad -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr AudioAggregatorPad
forall a. Ptr a
FP.nullPtr :: FP.Ptr AudioAggregatorPad)
gvalueSet_ Ptr GValue
gv (P.Just AudioAggregatorPad
obj) = AudioAggregatorPad -> (Ptr AudioAggregatorPad -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr AudioAggregatorPad
obj (Ptr GValue -> Ptr AudioAggregatorPad -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe AudioAggregatorPad)
gvalueGet_ Ptr GValue
gv = do
Ptr AudioAggregatorPad
ptr <- Ptr GValue -> IO (Ptr AudioAggregatorPad)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr AudioAggregatorPad)
if Ptr AudioAggregatorPad
ptr Ptr AudioAggregatorPad -> Ptr AudioAggregatorPad -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr AudioAggregatorPad
forall a. Ptr a
FP.nullPtr
then AudioAggregatorPad -> Maybe AudioAggregatorPad
forall a. a -> Maybe a
P.Just (AudioAggregatorPad -> Maybe AudioAggregatorPad)
-> IO AudioAggregatorPad -> IO (Maybe AudioAggregatorPad)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr AudioAggregatorPad -> AudioAggregatorPad)
-> Ptr AudioAggregatorPad -> IO AudioAggregatorPad
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr AudioAggregatorPad -> AudioAggregatorPad
AudioAggregatorPad Ptr AudioAggregatorPad
ptr
else Maybe AudioAggregatorPad -> IO (Maybe AudioAggregatorPad)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe AudioAggregatorPad
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveAudioAggregatorPadMethod (t :: Symbol) (o :: *) :: * where
ResolveAudioAggregatorPadMethod "activateMode" o = Gst.Pad.PadActivateModeMethodInfo
ResolveAudioAggregatorPadMethod "addControlBinding" o = Gst.Object.ObjectAddControlBindingMethodInfo
ResolveAudioAggregatorPadMethod "addProbe" o = Gst.Pad.PadAddProbeMethodInfo
ResolveAudioAggregatorPadMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveAudioAggregatorPadMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveAudioAggregatorPadMethod "canLink" o = Gst.Pad.PadCanLinkMethodInfo
ResolveAudioAggregatorPadMethod "chain" o = Gst.Pad.PadChainMethodInfo
ResolveAudioAggregatorPadMethod "chainList" o = Gst.Pad.PadChainListMethodInfo
ResolveAudioAggregatorPadMethod "checkReconfigure" o = Gst.Pad.PadCheckReconfigureMethodInfo
ResolveAudioAggregatorPadMethod "createStreamId" o = Gst.Pad.PadCreateStreamIdMethodInfo
ResolveAudioAggregatorPadMethod "defaultError" o = Gst.Object.ObjectDefaultErrorMethodInfo
ResolveAudioAggregatorPadMethod "dropBuffer" o = GstBase.AggregatorPad.AggregatorPadDropBufferMethodInfo
ResolveAudioAggregatorPadMethod "eventDefault" o = Gst.Pad.PadEventDefaultMethodInfo
ResolveAudioAggregatorPadMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveAudioAggregatorPadMethod "forward" o = Gst.Pad.PadForwardMethodInfo
ResolveAudioAggregatorPadMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveAudioAggregatorPadMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveAudioAggregatorPadMethod "hasActiveControlBindings" o = Gst.Object.ObjectHasActiveControlBindingsMethodInfo
ResolveAudioAggregatorPadMethod "hasAncestor" o = Gst.Object.ObjectHasAncestorMethodInfo
ResolveAudioAggregatorPadMethod "hasAsAncestor" o = Gst.Object.ObjectHasAsAncestorMethodInfo
ResolveAudioAggregatorPadMethod "hasAsParent" o = Gst.Object.ObjectHasAsParentMethodInfo
ResolveAudioAggregatorPadMethod "hasBuffer" o = GstBase.AggregatorPad.AggregatorPadHasBufferMethodInfo
ResolveAudioAggregatorPadMethod "hasCurrentCaps" o = Gst.Pad.PadHasCurrentCapsMethodInfo
ResolveAudioAggregatorPadMethod "isActive" o = Gst.Pad.PadIsActiveMethodInfo
ResolveAudioAggregatorPadMethod "isBlocked" o = Gst.Pad.PadIsBlockedMethodInfo
ResolveAudioAggregatorPadMethod "isBlocking" o = Gst.Pad.PadIsBlockingMethodInfo
ResolveAudioAggregatorPadMethod "isEos" o = GstBase.AggregatorPad.AggregatorPadIsEosMethodInfo
ResolveAudioAggregatorPadMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveAudioAggregatorPadMethod "isLinked" o = Gst.Pad.PadIsLinkedMethodInfo
ResolveAudioAggregatorPadMethod "iterateInternalLinks" o = Gst.Pad.PadIterateInternalLinksMethodInfo
ResolveAudioAggregatorPadMethod "iterateInternalLinksDefault" o = Gst.Pad.PadIterateInternalLinksDefaultMethodInfo
ResolveAudioAggregatorPadMethod "link" o = Gst.Pad.PadLinkMethodInfo
ResolveAudioAggregatorPadMethod "linkFull" o = Gst.Pad.PadLinkFullMethodInfo
ResolveAudioAggregatorPadMethod "linkMaybeGhosting" o = Gst.Pad.PadLinkMaybeGhostingMethodInfo
ResolveAudioAggregatorPadMethod "linkMaybeGhostingFull" o = Gst.Pad.PadLinkMaybeGhostingFullMethodInfo
ResolveAudioAggregatorPadMethod "markReconfigure" o = Gst.Pad.PadMarkReconfigureMethodInfo
ResolveAudioAggregatorPadMethod "needsReconfigure" o = Gst.Pad.PadNeedsReconfigureMethodInfo
ResolveAudioAggregatorPadMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveAudioAggregatorPadMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveAudioAggregatorPadMethod "pauseTask" o = Gst.Pad.PadPauseTaskMethodInfo
ResolveAudioAggregatorPadMethod "peekBuffer" o = GstBase.AggregatorPad.AggregatorPadPeekBufferMethodInfo
ResolveAudioAggregatorPadMethod "peerQuery" o = Gst.Pad.PadPeerQueryMethodInfo
ResolveAudioAggregatorPadMethod "peerQueryAcceptCaps" o = Gst.Pad.PadPeerQueryAcceptCapsMethodInfo
ResolveAudioAggregatorPadMethod "peerQueryCaps" o = Gst.Pad.PadPeerQueryCapsMethodInfo
ResolveAudioAggregatorPadMethod "peerQueryConvert" o = Gst.Pad.PadPeerQueryConvertMethodInfo
ResolveAudioAggregatorPadMethod "peerQueryDuration" o = Gst.Pad.PadPeerQueryDurationMethodInfo
ResolveAudioAggregatorPadMethod "peerQueryPosition" o = Gst.Pad.PadPeerQueryPositionMethodInfo
ResolveAudioAggregatorPadMethod "popBuffer" o = GstBase.AggregatorPad.AggregatorPadPopBufferMethodInfo
ResolveAudioAggregatorPadMethod "proxyQueryAcceptCaps" o = Gst.Pad.PadProxyQueryAcceptCapsMethodInfo
ResolveAudioAggregatorPadMethod "proxyQueryCaps" o = Gst.Pad.PadProxyQueryCapsMethodInfo
ResolveAudioAggregatorPadMethod "pullRange" o = Gst.Pad.PadPullRangeMethodInfo
ResolveAudioAggregatorPadMethod "push" o = Gst.Pad.PadPushMethodInfo
ResolveAudioAggregatorPadMethod "pushEvent" o = Gst.Pad.PadPushEventMethodInfo
ResolveAudioAggregatorPadMethod "pushList" o = Gst.Pad.PadPushListMethodInfo
ResolveAudioAggregatorPadMethod "query" o = Gst.Pad.PadQueryMethodInfo
ResolveAudioAggregatorPadMethod "queryAcceptCaps" o = Gst.Pad.PadQueryAcceptCapsMethodInfo
ResolveAudioAggregatorPadMethod "queryCaps" o = Gst.Pad.PadQueryCapsMethodInfo
ResolveAudioAggregatorPadMethod "queryConvert" o = Gst.Pad.PadQueryConvertMethodInfo
ResolveAudioAggregatorPadMethod "queryDefault" o = Gst.Pad.PadQueryDefaultMethodInfo
ResolveAudioAggregatorPadMethod "queryDuration" o = Gst.Pad.PadQueryDurationMethodInfo
ResolveAudioAggregatorPadMethod "queryPosition" o = Gst.Pad.PadQueryPositionMethodInfo
ResolveAudioAggregatorPadMethod "ref" o = Gst.Object.ObjectRefMethodInfo
ResolveAudioAggregatorPadMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveAudioAggregatorPadMethod "removeControlBinding" o = Gst.Object.ObjectRemoveControlBindingMethodInfo
ResolveAudioAggregatorPadMethod "removeProbe" o = Gst.Pad.PadRemoveProbeMethodInfo
ResolveAudioAggregatorPadMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveAudioAggregatorPadMethod "sendEvent" o = Gst.Pad.PadSendEventMethodInfo
ResolveAudioAggregatorPadMethod "startTask" o = Gst.Pad.PadStartTaskMethodInfo
ResolveAudioAggregatorPadMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveAudioAggregatorPadMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveAudioAggregatorPadMethod "stickyEventsForeach" o = Gst.Pad.PadStickyEventsForeachMethodInfo
ResolveAudioAggregatorPadMethod "stopTask" o = Gst.Pad.PadStopTaskMethodInfo
ResolveAudioAggregatorPadMethod "storeStickyEvent" o = Gst.Pad.PadStoreStickyEventMethodInfo
ResolveAudioAggregatorPadMethod "suggestNextSync" o = Gst.Object.ObjectSuggestNextSyncMethodInfo
ResolveAudioAggregatorPadMethod "syncValues" o = Gst.Object.ObjectSyncValuesMethodInfo
ResolveAudioAggregatorPadMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveAudioAggregatorPadMethod "unlink" o = Gst.Pad.PadUnlinkMethodInfo
ResolveAudioAggregatorPadMethod "unparent" o = Gst.Object.ObjectUnparentMethodInfo
ResolveAudioAggregatorPadMethod "unref" o = Gst.Object.ObjectUnrefMethodInfo
ResolveAudioAggregatorPadMethod "useFixedCaps" o = Gst.Pad.PadUseFixedCapsMethodInfo
ResolveAudioAggregatorPadMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveAudioAggregatorPadMethod "getAllowedCaps" o = Gst.Pad.PadGetAllowedCapsMethodInfo
ResolveAudioAggregatorPadMethod "getControlBinding" o = Gst.Object.ObjectGetControlBindingMethodInfo
ResolveAudioAggregatorPadMethod "getControlRate" o = Gst.Object.ObjectGetControlRateMethodInfo
ResolveAudioAggregatorPadMethod "getCurrentCaps" o = Gst.Pad.PadGetCurrentCapsMethodInfo
ResolveAudioAggregatorPadMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveAudioAggregatorPadMethod "getDirection" o = Gst.Pad.PadGetDirectionMethodInfo
ResolveAudioAggregatorPadMethod "getElementPrivate" o = Gst.Pad.PadGetElementPrivateMethodInfo
ResolveAudioAggregatorPadMethod "getGValueArray" o = Gst.Object.ObjectGetGValueArrayMethodInfo
ResolveAudioAggregatorPadMethod "getLastFlowReturn" o = Gst.Pad.PadGetLastFlowReturnMethodInfo
ResolveAudioAggregatorPadMethod "getName" o = Gst.Object.ObjectGetNameMethodInfo
ResolveAudioAggregatorPadMethod "getOffset" o = Gst.Pad.PadGetOffsetMethodInfo
ResolveAudioAggregatorPadMethod "getPadTemplate" o = Gst.Pad.PadGetPadTemplateMethodInfo
ResolveAudioAggregatorPadMethod "getPadTemplateCaps" o = Gst.Pad.PadGetPadTemplateCapsMethodInfo
ResolveAudioAggregatorPadMethod "getParent" o = Gst.Object.ObjectGetParentMethodInfo
ResolveAudioAggregatorPadMethod "getParentElement" o = Gst.Pad.PadGetParentElementMethodInfo
ResolveAudioAggregatorPadMethod "getPathString" o = Gst.Object.ObjectGetPathStringMethodInfo
ResolveAudioAggregatorPadMethod "getPeer" o = Gst.Pad.PadGetPeerMethodInfo
ResolveAudioAggregatorPadMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveAudioAggregatorPadMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveAudioAggregatorPadMethod "getRange" o = Gst.Pad.PadGetRangeMethodInfo
ResolveAudioAggregatorPadMethod "getSingleInternalLink" o = Gst.Pad.PadGetSingleInternalLinkMethodInfo
ResolveAudioAggregatorPadMethod "getStickyEvent" o = Gst.Pad.PadGetStickyEventMethodInfo
ResolveAudioAggregatorPadMethod "getStream" o = Gst.Pad.PadGetStreamMethodInfo
ResolveAudioAggregatorPadMethod "getStreamId" o = Gst.Pad.PadGetStreamIdMethodInfo
ResolveAudioAggregatorPadMethod "getTaskState" o = Gst.Pad.PadGetTaskStateMethodInfo
ResolveAudioAggregatorPadMethod "getValue" o = Gst.Object.ObjectGetValueMethodInfo
ResolveAudioAggregatorPadMethod "setActivateFunctionFull" o = Gst.Pad.PadSetActivateFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setActivatemodeFunctionFull" o = Gst.Pad.PadSetActivatemodeFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setActive" o = Gst.Pad.PadSetActiveMethodInfo
ResolveAudioAggregatorPadMethod "setChainFunctionFull" o = Gst.Pad.PadSetChainFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setChainListFunctionFull" o = Gst.Pad.PadSetChainListFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setControlBindingDisabled" o = Gst.Object.ObjectSetControlBindingDisabledMethodInfo
ResolveAudioAggregatorPadMethod "setControlBindingsDisabled" o = Gst.Object.ObjectSetControlBindingsDisabledMethodInfo
ResolveAudioAggregatorPadMethod "setControlRate" o = Gst.Object.ObjectSetControlRateMethodInfo
ResolveAudioAggregatorPadMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveAudioAggregatorPadMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveAudioAggregatorPadMethod "setElementPrivate" o = Gst.Pad.PadSetElementPrivateMethodInfo
ResolveAudioAggregatorPadMethod "setEventFullFunctionFull" o = Gst.Pad.PadSetEventFullFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setEventFunctionFull" o = Gst.Pad.PadSetEventFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setGetrangeFunctionFull" o = Gst.Pad.PadSetGetrangeFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setIterateInternalLinksFunctionFull" o = Gst.Pad.PadSetIterateInternalLinksFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setLinkFunctionFull" o = Gst.Pad.PadSetLinkFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setName" o = Gst.Object.ObjectSetNameMethodInfo
ResolveAudioAggregatorPadMethod "setOffset" o = Gst.Pad.PadSetOffsetMethodInfo
ResolveAudioAggregatorPadMethod "setParent" o = Gst.Object.ObjectSetParentMethodInfo
ResolveAudioAggregatorPadMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveAudioAggregatorPadMethod "setQueryFunctionFull" o = Gst.Pad.PadSetQueryFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod "setUnlinkFunctionFull" o = Gst.Pad.PadSetUnlinkFunctionFullMethodInfo
ResolveAudioAggregatorPadMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveAudioAggregatorPadMethod t AudioAggregatorPad, O.OverloadedMethod info AudioAggregatorPad p) => OL.IsLabel t (AudioAggregatorPad -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveAudioAggregatorPadMethod t AudioAggregatorPad, O.OverloadedMethod info AudioAggregatorPad p, R.HasField t AudioAggregatorPad p) => R.HasField t AudioAggregatorPad p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveAudioAggregatorPadMethod t AudioAggregatorPad, O.OverloadedMethodInfo info AudioAggregatorPad) => OL.IsLabel t (O.MethodProxy info AudioAggregatorPad) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getAudioAggregatorPadQosMessages :: (MonadIO m, IsAudioAggregatorPad o) => o -> m Bool
getAudioAggregatorPadQosMessages :: forall (m :: * -> *) o.
(MonadIO m, IsAudioAggregatorPad o) =>
o -> m Bool
getAudioAggregatorPadQosMessages o
obj = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"qos-messages"
setAudioAggregatorPadQosMessages :: (MonadIO m, IsAudioAggregatorPad o) => o -> Bool -> m ()
setAudioAggregatorPadQosMessages :: forall (m :: * -> *) o.
(MonadIO m, IsAudioAggregatorPad o) =>
o -> Bool -> m ()
setAudioAggregatorPadQosMessages o
obj Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"qos-messages" Bool
val
constructAudioAggregatorPadQosMessages :: (IsAudioAggregatorPad o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructAudioAggregatorPadQosMessages :: forall o (m :: * -> *).
(IsAudioAggregatorPad o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructAudioAggregatorPadQosMessages Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"qos-messages" Bool
val
#if defined(ENABLE_OVERLOADING)
data AudioAggregatorPadQosMessagesPropertyInfo
instance AttrInfo AudioAggregatorPadQosMessagesPropertyInfo where
type AttrAllowedOps AudioAggregatorPadQosMessagesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint AudioAggregatorPadQosMessagesPropertyInfo = IsAudioAggregatorPad
type AttrSetTypeConstraint AudioAggregatorPadQosMessagesPropertyInfo = (~) Bool
type AttrTransferTypeConstraint AudioAggregatorPadQosMessagesPropertyInfo = (~) Bool
type AttrTransferType AudioAggregatorPadQosMessagesPropertyInfo = Bool
type AttrGetType AudioAggregatorPadQosMessagesPropertyInfo = Bool
type AttrLabel AudioAggregatorPadQosMessagesPropertyInfo = "qos-messages"
type AttrOrigin AudioAggregatorPadQosMessagesPropertyInfo = AudioAggregatorPad
attrGet = getAudioAggregatorPadQosMessages
attrSet = setAudioAggregatorPadQosMessages
attrTransfer _ v = do
return v
attrConstruct = constructAudioAggregatorPadQosMessages
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GstAudio.Objects.AudioAggregatorPad.qosMessages"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gstaudio-1.0.24/docs/GI-GstAudio-Objects-AudioAggregatorPad.html#g:attr:qosMessages"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList AudioAggregatorPad
type instance O.AttributeList AudioAggregatorPad = AudioAggregatorPadAttributeList
type AudioAggregatorPadAttributeList = ('[ '("caps", Gst.Pad.PadCapsPropertyInfo), '("direction", Gst.Pad.PadDirectionPropertyInfo), '("emitSignals", GstBase.AggregatorPad.AggregatorPadEmitSignalsPropertyInfo), '("name", Gst.Object.ObjectNamePropertyInfo), '("offset", Gst.Pad.PadOffsetPropertyInfo), '("parent", Gst.Object.ObjectParentPropertyInfo), '("qosMessages", AudioAggregatorPadQosMessagesPropertyInfo), '("template", Gst.Pad.PadTemplatePropertyInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
audioAggregatorPadQosMessages :: AttrLabelProxy "qosMessages"
audioAggregatorPadQosMessages = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList AudioAggregatorPad = AudioAggregatorPadSignalList
type AudioAggregatorPadSignalList = ('[ '("bufferConsumed", GstBase.AggregatorPad.AggregatorPadBufferConsumedSignalInfo), '("deepNotify", Gst.Object.ObjectDeepNotifySignalInfo), '("linked", Gst.Pad.PadLinkedSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("unlinked", Gst.Pad.PadUnlinkedSignalInfo)] :: [(Symbol, *)])
#endif