The OpenD Programming Language

OpusResampler.getRatio

Get the current resampling ratio. This will be reduced to the least common denominator.

struct OpusResampler
nothrow @nogc nothrow @trusted @nogc
void
getRatio
(
out uint ratioNum
,
out uint ratioDen
)

Parameters

ratioNum uint

Numerator of the sampling rate ratio copied

ratioDen uint

Denominator of the sampling rate ratio copied

Meta