Class OpusInfo
Provides information about the opus DLL.
Inherited Members
Namespace: OpusSharp.Core
Assembly: OpusSharp.Core.dll
Syntax
public class OpusInfo
Methods
| Edit this page View SourceStringError(int, bool?)
Converts an opus error code into a human-readable string.
Declaration
public static string StringError(int error, bool? use_static = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | error | Error number. |
| bool? | use_static | Set to true to force static imports, false to force dynamic imports, or null to auto-select based on platform. |
Returns
| Type | Description |
|---|---|
| string | Error string. |
Version(bool?)
Gets the libopus version string.
Declaration
public static string Version(bool? use_static = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool? | use_static | Set to true to force static imports, false to force dynamic imports, or null to auto-select based on platform. |
Returns
| Type | Description |
|---|---|
| string | Version string. |