The OpenD Programming Language

OpusResampler.setup

Create a new resampler with integer input and output rates.

struct OpusResampler
nothrow @nogc nothrow @trusted @nogc
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