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 |
A #GstSample is a small object containing data, a type, timing and extra arbitrary information.
- newtype Sample = Sample (ForeignPtr Sample)
- noSample :: Maybe Sample
- data SampleGetBufferMethodInfo
- sampleGetBuffer :: MonadIO m => Sample -> m Buffer
- data SampleGetBufferListMethodInfo
- sampleGetBufferList :: MonadIO m => Sample -> m BufferList
- data SampleGetCapsMethodInfo
- sampleGetCaps :: MonadIO m => Sample -> m Caps
- data SampleGetInfoMethodInfo
- sampleGetInfo :: MonadIO m => Sample -> m Structure
- data SampleGetSegmentMethodInfo
- sampleGetSegment :: MonadIO m => Sample -> m Segment
- sampleNew :: MonadIO m => Maybe Buffer -> Maybe Caps -> Maybe Segment -> Maybe Structure -> m Sample
- data SampleSetBufferListMethodInfo
- sampleSetBufferList :: MonadIO m => Sample -> BufferList -> m ()
Exported types
Methods
sampleGetBuffer
data SampleGetBufferMethodInfo Source
((~) (TYPE Lifted) signature (m Buffer), MonadIO m) => MethodInfo (TYPE Lifted) SampleGetBufferMethodInfo Sample signature Source | |
sampleGetBuffer :: MonadIO m => Sample -> m Buffer Source
sampleGetBufferList
data SampleGetBufferListMethodInfo Source
((~) (TYPE Lifted) signature (m BufferList), MonadIO m) => MethodInfo (TYPE Lifted) SampleGetBufferListMethodInfo Sample signature Source | |
sampleGetBufferList :: MonadIO m => Sample -> m BufferList Source
sampleGetCaps
data SampleGetCapsMethodInfo Source
((~) (TYPE Lifted) signature (m Caps), MonadIO m) => MethodInfo (TYPE Lifted) SampleGetCapsMethodInfo Sample signature Source | |
sampleGetCaps :: MonadIO m => Sample -> m Caps Source
sampleGetInfo
data SampleGetInfoMethodInfo Source
((~) (TYPE Lifted) signature (m Structure), MonadIO m) => MethodInfo (TYPE Lifted) SampleGetInfoMethodInfo Sample signature Source | |
sampleGetInfo :: MonadIO m => Sample -> m Structure Source
sampleGetSegment
data SampleGetSegmentMethodInfo Source
((~) (TYPE Lifted) signature (m Segment), MonadIO m) => MethodInfo (TYPE Lifted) SampleGetSegmentMethodInfo Sample signature Source | |
sampleGetSegment :: MonadIO m => Sample -> m Segment Source
sampleNew
sampleNew :: MonadIO m => Maybe Buffer -> Maybe Caps -> Maybe Segment -> Maybe Structure -> m Sample Source
sampleSetBufferList
data SampleSetBufferListMethodInfo Source
((~) (TYPE Lifted) signature (BufferList -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) SampleSetBufferListMethodInfo Sample signature Source | |
sampleSetBufferList :: MonadIO m => Sample -> BufferList -> m () Source