SpeexResampler.setup

Create a new resampler with integer input and output rates.

struct SpeexResampler
nothrow @trusted @nogc
Error
setup
(
uint chans
,
uint ainRate
,,
Quality aquality
)

Parameters

chans uint

Number of channels to be processed

aquality Quality

Resampling quality between 0 and 10, where 0 has poor quality and 10 has very high quality.

Return Value

Type: Error

0 or error code

Meta