Delegate AudioCallback
- Namespace
- Refractor
- Assembly
- Refractor.dll
Receives synthesized audio: interleaved samples in [-1, 1], valid only during the call.
public delegate void AudioCallback(ReadOnlySpan<float> samples, int channels, int sampleRate)
Parameters
samplesReadOnlySpan<float>- Receives synthesized audio: interleaved samples in [-1, 1], valid only during the call.
channelsint- Receives synthesized audio: interleaved samples in [-1, 1], valid only during the call.
sampleRateint- Receives synthesized audio: interleaved samples in [-1, 1], valid only during the call.