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 |
Parameters passed to the bufferPoolAcquireBuffer
function to control the
allocation of the buffer.
The default implementation ignores the start
and stop
members but other
implementations can use this extra information to decide what buffer to
return.
Synopsis
- newtype BufferPoolAcquireParams = BufferPoolAcquireParams (ManagedPtr BufferPoolAcquireParams)
- newZeroBufferPoolAcquireParams :: MonadIO m => m BufferPoolAcquireParams
- getBufferPoolAcquireParamsFlags :: MonadIO m => BufferPoolAcquireParams -> m [BufferPoolAcquireFlags]
- setBufferPoolAcquireParamsFlags :: MonadIO m => BufferPoolAcquireParams -> [BufferPoolAcquireFlags] -> m ()
- getBufferPoolAcquireParamsFormat :: MonadIO m => BufferPoolAcquireParams -> m Format
- setBufferPoolAcquireParamsFormat :: MonadIO m => BufferPoolAcquireParams -> Format -> m ()
- getBufferPoolAcquireParamsStart :: MonadIO m => BufferPoolAcquireParams -> m Int64
- setBufferPoolAcquireParamsStart :: MonadIO m => BufferPoolAcquireParams -> Int64 -> m ()
- getBufferPoolAcquireParamsStop :: MonadIO m => BufferPoolAcquireParams -> m Int64
- setBufferPoolAcquireParamsStop :: MonadIO m => BufferPoolAcquireParams -> Int64 -> m ()
Exported types
newtype BufferPoolAcquireParams Source #
Memory-managed wrapper type.
BufferPoolAcquireParams (ManagedPtr BufferPoolAcquireParams) |
Instances
Eq BufferPoolAcquireParams Source # | |
Defined in GI.Gst.Structs.BufferPoolAcquireParams | |
BoxedPtr BufferPoolAcquireParams Source # | |
CallocPtr BufferPoolAcquireParams Source # | |
Defined in GI.Gst.Structs.BufferPoolAcquireParams | |
ManagedPtrNewtype BufferPoolAcquireParams Source # | |
Defined in GI.Gst.Structs.BufferPoolAcquireParams toManagedPtr :: BufferPoolAcquireParams -> ManagedPtr BufferPoolAcquireParams | |
tag ~ 'AttrSet => Constructible BufferPoolAcquireParams tag Source # | |
Defined in GI.Gst.Structs.BufferPoolAcquireParams new :: MonadIO m => (ManagedPtr BufferPoolAcquireParams -> BufferPoolAcquireParams) -> [AttrOp BufferPoolAcquireParams tag] -> m BufferPoolAcquireParams |
newZeroBufferPoolAcquireParams :: MonadIO m => m BufferPoolAcquireParams Source #
Construct a BufferPoolAcquireParams
struct initialized to zero.
Methods
Properties
flags
additional flags
getBufferPoolAcquireParamsFlags :: MonadIO m => BufferPoolAcquireParams -> m [BufferPoolAcquireFlags] Source #
Get the value of the “flags
” field.
When overloading is enabled, this is equivalent to
get
bufferPoolAcquireParams #flags
setBufferPoolAcquireParamsFlags :: MonadIO m => BufferPoolAcquireParams -> [BufferPoolAcquireFlags] -> m () Source #
Set the value of the “flags
” field.
When overloading is enabled, this is equivalent to
set
bufferPoolAcquireParams [ #flags:=
value ]
format
the format of start
and stop
getBufferPoolAcquireParamsFormat :: MonadIO m => BufferPoolAcquireParams -> m Format Source #
Get the value of the “format
” field.
When overloading is enabled, this is equivalent to
get
bufferPoolAcquireParams #format
setBufferPoolAcquireParamsFormat :: MonadIO m => BufferPoolAcquireParams -> Format -> m () Source #
Set the value of the “format
” field.
When overloading is enabled, this is equivalent to
set
bufferPoolAcquireParams [ #format:=
value ]
start
the start position
getBufferPoolAcquireParamsStart :: MonadIO m => BufferPoolAcquireParams -> m Int64 Source #
Get the value of the “start
” field.
When overloading is enabled, this is equivalent to
get
bufferPoolAcquireParams #start
setBufferPoolAcquireParamsStart :: MonadIO m => BufferPoolAcquireParams -> Int64 -> m () Source #
Set the value of the “start
” field.
When overloading is enabled, this is equivalent to
set
bufferPoolAcquireParams [ #start:=
value ]
stop
the stop position
getBufferPoolAcquireParamsStop :: MonadIO m => BufferPoolAcquireParams -> m Int64 Source #
Get the value of the “stop
” field.
When overloading is enabled, this is equivalent to
get
bufferPoolAcquireParams #stop
setBufferPoolAcquireParamsStop :: MonadIO m => BufferPoolAcquireParams -> Int64 -> m () Source #
Set the value of the “stop
” field.
When overloading is enabled, this is equivalent to
set
bufferPoolAcquireParams [ #stop:=
value ]