The OpenD Programming Language

OpusResampler.setRate

Set (change) the input/output sampling rates (integer value).

struct OpusResampler
nothrow @nogc nothrow @trusted @nogc
setRate
(
uint ainRate
,)

Parameters

ainRate uint

Input sampling rate (integer number of Hz).

aoutRate uint

Output sampling rate (integer number of Hz).

Return Value

Type: Error

0 or error code

Meta