Skip to main content
Version: 2.x

Class OdinDecoderHandle

Represents a decoder for media streams from remote voice chat clients, which encapsulates all the components required to process incoming audio streams. It includes an egress resampler for sample rate conversion, an Opus decoder for decompressing audio data and a customizable audio pipeline that enables the application of effects to modify the raw audio samples.

Declaration
public class OdinDecoderHandle : SafeHandleZeroOrMinusOneIsInvalid, IDisposable

Inheritance: System.Object -> System.Runtime.ConstrainedExecution.CriticalFinalizerObject -> System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid

Implements:
System.IDisposable

Properties

IsAlive

Declaration
public bool IsAlive { get; }

Methods

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

Declaration
protected override bool ReleaseHandle()
Returns

System.Boolean: true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.

Implements

  • System.IDisposable