gi-gstaudio-1.0.19: GStreamerAudio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstAudio.Structs.AudioQuantize

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AudioQuantize Source #

Memory-managed wrapper type.

Constructors

AudioQuantize (ManagedPtr AudioQuantize) 

Methods

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.