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 |
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.
AudioQuantize (ManagedPtr AudioQuantize) |
Instances
Eq AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize (==) :: AudioQuantize -> AudioQuantize -> Bool # (/=) :: AudioQuantize -> AudioQuantize -> Bool # | |
BoxedPtr AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize boxedPtrCopy :: AudioQuantize -> IO AudioQuantize boxedPtrFree :: AudioQuantize -> IO () | |
ManagedPtrNewtype AudioQuantize Source # | |
Defined in GI.GstAudio.Structs.AudioQuantize toManagedPtr :: AudioQuantize -> ManagedPtr AudioQuantize |
Methods
Click to display all available methods, including inherited ones
free
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Free a AudioQuantize
.
reset
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Reset quant
to the state is was when created, clearing any
history it might have.
samples
:: (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.