Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.GstBase.Objects.AggregatorPad
Description
Pads managed by a GstAggregor
subclass.
This class used to live in gst-plugins-bad and was moved to core.
Synopsis
- newtype AggregatorPad = AggregatorPad (ManagedPtr AggregatorPad)
- class GObject o => IsAggregatorPad o
- toAggregatorPad :: (MonadIO m, IsAggregatorPad o) => o -> m AggregatorPad
- noAggregatorPad :: Maybe AggregatorPad
- aggregatorPadDropBuffer :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Bool
- aggregatorPadHasBuffer :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Bool
- aggregatorPadIsEos :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Bool
- aggregatorPadPeekBuffer :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Buffer
- aggregatorPadPopBuffer :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Buffer
Exported types
newtype AggregatorPad Source #
Memory-managed wrapper type.
Constructors
AggregatorPad (ManagedPtr AggregatorPad) |
Instances
GObject AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad Methods gobjectType :: AggregatorPad -> IO GType # | |
IsObject AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad | |
IsPad AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad | |
IsObject AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad | |
IsAggregatorPad AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad |
class GObject o => IsAggregatorPad o Source #
Type class for types which can be safely cast to AggregatorPad
, for instance with toAggregatorPad
.
Instances
(GObject a, (UnknownAncestorError AggregatorPad a :: Constraint)) => IsAggregatorPad a Source # | |
Defined in GI.GstBase.Objects.AggregatorPad | |
IsAggregatorPad AggregatorPad Source # | |
Defined in GI.GstBase.Objects.AggregatorPad |
toAggregatorPad :: (MonadIO m, IsAggregatorPad o) => o -> m AggregatorPad Source #
Cast to AggregatorPad
, for types for which this is known to be safe. For general casts, use castTo
.
noAggregatorPad :: Maybe AggregatorPad Source #
A convenience alias for Nothing
:: Maybe
AggregatorPad
.
Methods
dropBuffer
aggregatorPadDropBuffer Source #
Arguments
:: (HasCallStack, MonadIO m, IsAggregatorPad a) | |
=> a |
|
-> m Bool | Returns: TRUE if there was a buffer queued in |
Drop the buffer currently queued in pad
.
hasBuffer
aggregatorPadHasBuffer Source #
Arguments
:: (HasCallStack, MonadIO m, IsAggregatorPad a) | |
=> a |
|
-> m Bool | Returns: |
No description available in the introspection data.
Since: 1.14.1
isEos
Arguments
:: (HasCallStack, MonadIO m, IsAggregatorPad a) | |
=> a |
|
-> m Bool |
No description available in the introspection data.
peekBuffer
aggregatorPadPeekBuffer Source #
Arguments
:: (HasCallStack, MonadIO m, IsAggregatorPad a) | |
=> a |
|
-> m Buffer | Returns: A reference to the buffer in |
No description available in the introspection data.
popBuffer
aggregatorPadPopBuffer Source #
Arguments
:: (HasCallStack, MonadIO m, IsAggregatorPad a) | |
=> a |
|
-> m Buffer | Returns: The buffer in |
Steal the ref to the buffer currently queued in pad
.