SpeexResampler.process

Resample (an interleaved) float array. The input and output buffers must *not* overlap. data.dataIn can be empty, but data.dataOut can't. Function will return number of consumed samples (*not* *frames*!) in data.inputSamplesUsed, and number of produced samples in data.outputSamplesUsed. You should provide enough samples for all channels, and all channels will be processed.

struct SpeexResampler
nothrow @trusted @nogc
Error
process
(
string mode = "interleaved"
)
(
ref Data data
)

Parameters

data Data

input and output buffers, number of frames consumed and produced

Return Value

Type: Error

0 or error code

Suggestion Box / Bug Report