AudioConverter.convert

bool convert(gstaudio.types.AudioConverterFlags flags, ubyte[] in_, out ubyte[] out_)

Convenience wrapper around gstaudio.audio_converter.AudioConverter.samples, which will perform allocation of the output buffer based on the result from gstaudio.audio_converter.AudioConverter.getOutFrames.

Parameters

flagsextra #GstAudioConverterFlags
in_input data
out_a pointer where the output data will be written

Returns

true is the conversion could be performed.