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 = false)
Parameters
| Type | Name | Description |
|---|---|---|
| int | error | Error number. |
| bool | use_static | Whether to use a statically linked version of opus. |
Returns
| Type | Description |
|---|---|
| string | Error string. |
Version(bool)
Gets the libopus version string.
Declaration
public static string Version(bool use_static = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | use_static | Whether to use a statically linked version of opus. |
Returns
| Type | Description |
|---|---|
| string | Version string. |