GstAudio.AudioQuantize

Fields

None

Methods

  free ()
  reset ()
  samples (in_, out, samples)

Details

class GstAudio.AudioQuantize
free()[source]

Free a GstAudio.AudioQuantize.

reset()[source]

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

samples(in_, out, samples)[source]
Parameters:
  • in (object or None) – input samples
  • out (object or None) – output samples
  • samples (int) – number of samples

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.