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 |
- newtype AudioQuantize = AudioQuantize (ManagedPtr AudioQuantize)
- noAudioQuantize :: Maybe AudioQuantize
- data AudioQuantizeFreeMethodInfo
- audioQuantizeFree :: (HasCallStack, MonadIO m) => AudioQuantize -> m ()
- data AudioQuantizeResetMethodInfo
- audioQuantizeReset :: (HasCallStack, MonadIO m) => AudioQuantize -> m ()
- data AudioQuantizeSamplesMethodInfo
- audioQuantizeSamples :: (HasCallStack, MonadIO m) => AudioQuantize -> Ptr () -> Ptr () -> Word32 -> m ()
Exported types
newtype AudioQuantize Source #
WrappedPtr AudioQuantize Source # | |
((~) * info (ResolveAudioQuantizeMethod t AudioQuantize), MethodInfo * info AudioQuantize p) => IsLabel t (AudioQuantize -> p) Source # | |
((~) * info (ResolveAudioQuantizeMethod t AudioQuantize), MethodInfo * info AudioQuantize p) => IsLabelProxy t (AudioQuantize -> p) Source # | |
HasAttributeList * AudioQuantize Source # | |
((~) * signature (Ptr () -> Ptr () -> Word32 -> m ()), MonadIO m) => MethodInfo * AudioQuantizeSamplesMethodInfo AudioQuantize signature Source # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioQuantizeResetMethodInfo AudioQuantize signature Source # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioQuantizeFreeMethodInfo AudioQuantize signature Source # | |
type AttributeList AudioQuantize Source # | |
Methods
free
data AudioQuantizeFreeMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioQuantizeFreeMethodInfo AudioQuantize signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Free a AudioQuantize
.
reset
data AudioQuantizeResetMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioQuantizeResetMethodInfo AudioQuantize signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> AudioQuantize |
|
-> m () |
Reset quant
to the state is was when created, clearing any
history it might have.
samples
data AudioQuantizeSamplesMethodInfo Source #
((~) * signature (Ptr () -> Ptr () -> Word32 -> m ()), MonadIO m) => MethodInfo * AudioQuantizeSamplesMethodInfo AudioQuantize signature Source # | |
:: (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.