sampleRate property

  1. @TagNumber.new(6)
int get sampleRate

Capture rate of the audio fed to the detector, for the whole session. Nothing resamples: a mismatch yields wrong segment durations. Bound is identical to VADConfiguration.sample_rate and the commons validator — if the project narrows to Silero/LiveKit's {8000,16000}, change all three together.

Implementation

@$pb.TagNumber(6)
$core.int get sampleRate => $_getIZ(5);
  1. @TagNumber.new(6)
set sampleRate (int value)

Implementation

@$pb.TagNumber(6)
set sampleRate($core.int value) => $_setSignedInt32(5, value);