gi-gstaudio-1.0.24: GStreamerAudio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstAudio.Structs.AudioQuantize

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

free, reset, samples.

Getters

None.

Setters

None.

free

reset

audioQuantizeReset Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AudioQuantize

quant: a AudioQuantize

-> m () 

Reset quant to the state is was when created, clearing any history it might have.

samples

audioQuantizeSamples Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AudioQuantize

quant: a AudioQuantize

-> Ptr ()

in: input samples

-> Ptr ()

out: output samples

-> Word32

samples: number of samples

-> 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.