contextSampleRate property

int get contextSampleRate

The rate the audio graph is actually running at. Equal to the ring's sample rate by construction — open declines rather than return a sink where these differ, because that difference is a pitch shift.

Implementation

int get contextSampleRate => _context.sampleRate.round();