public int GetLastPacketSampleCount(OpusDecoder decoder) { Interop.OpusGetLastPacketDuration(decoder.Decoder, out var sampleCount); return(sampleCount); }
public void ProcessPacketLoss(OpusDecoder decoder, int frameSize, ref Span <byte> target) => Interop.OpusDecode(decoder.Decoder, frameSize, target);