sampleRate property

int sampleRate

The sample rate in Hz for this decoder. Opus supports sample rates from 8kHz to 48kHz so this value must be between 8000 and 48000.

Implementation

int get sampleRate => _decoder.sampleRate;