API reference
Method Encode
- Namespace
- DisCatSharp.Voice.Codec
- Assembly
- DisCatSharp.Voice.dll
Encode(ReadOnlySpan<byte>, ref Span<byte>)
Encodes the Opus.
public void Encode(ReadOnlySpan<byte> pcm, ref Span<byte> target)
Parameters
pcmReadOnlySpan<byte>The pcm.
targetSpan<byte>The target.