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 |
GI.GstAudio.Structs.AudioQuantize
Contents
Description
No description available in the introspection data.
Synopsis
- newtype AudioQuantize = AudioQuantize (ManagedPtr AudioQuantize)
- audioQuantizeFree :: (HasCallStack, MonadIO m) => AudioQuantize -> m ()
- audioQuantizeReset :: (HasCallStack, MonadIO m) => AudioQuantize -> m ()
- audioQuantizeSamples :: (HasCallStack, MonadIO m) => AudioQuantize -> Ptr () -> Ptr () -> Word32 -> m ()
Exported types
newtype AudioQuantize Source #
Memory-managed wrapper type.
Constructors
AudioQuantize (ManagedPtr AudioQuantize) |
Instances
Eq AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize Methods (==) :: AudioQuantize -> AudioQuantize -> Bool # (/=) :: AudioQuantize -> AudioQuantize -> Bool # | |
BoxedPtr AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize | |
ManagedPtrNewtype AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize Methods toManagedPtr :: AudioQuantize -> ManagedPtr AudioQuantize |
Methods
Click to display all available methods, including inherited ones
free
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Free a AudioQuantize
.
reset
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Reset quant
to the state is was when created, clearing any
history it might have.
samples
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> Ptr () |
|
-> Ptr () |
|
-> Word32 |
|
-> m () |
Perform quantization on samples
in in
and write the result to out
.
In case the samples are interleaved, in
and out
must point to an
array with a single element pointing to a block of interleaved samples.
If non-interleaved samples are used, in
and out
must point to an
array with pointers to memory blocks, one for each channel.
in
and out
may point to the same memory location, in which case samples will be
modified in-place.