Class VoiceDecoder
Decodes Opus packets into 20 ms voice frames; a missing packet is concealed from the ones before it.
Inherited Members
Namespace: Uniform.Matrix.Audio
Assembly: Uniform.Matrix.Audio.dll
Syntax
public sealed class VoiceDecoder
Constructors
| Edit this page View SourceVoiceDecoder()
Create a decoder.
Declaration
public VoiceDecoder()
Methods
| Edit this page View SourceDecode(byte[]?)
Decode a packet into a frame of FrameSamples samples; null for a packet that never arrived, which is concealed.
Declaration
public short[] Decode(byte[]? packet)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | packet |
Returns
| Type | Description |
|---|---|
| short[] |