Enum EncoderCTL
These are convenience macros for use with the opus_encoder_ctl interface.
Namespace: OpusSharp.Core
Assembly: OpusSharp.Core.dll
Syntax
public enum EncoderCTL
Fields
Name | Description |
---|---|
OPUS_GET_APPLICATION | Gets the encoder's configured application. |
OPUS_GET_BITRATE | Gets the encoder's bitrate configuration. |
OPUS_GET_COMPLEXITY | Gets the encoder's complexity configuration. |
OPUS_GET_DRED_DURATION | Gets the encoder's configured Deep Redundancy (DRED) maximum number of frames. |
OPUS_GET_DTX | Gets encoder's configured use of discontinuous transmission. |
OPUS_GET_EXPERT_FRAME_DURATION | Gets the encoder's configured use of variable duration frames. |
OPUS_GET_FORCE_CHANNELS | Gets the encoder's forced channel configuration. |
OPUS_GET_INBAND_FEC | Gets encoder's configured use of in-band forward error correction. |
OPUS_GET_IN_DTX | Gets the DTX state of the encoder. |
OPUS_GET_LOOKAHEAD | Gets the total samples of delay added by the entire codec. |
OPUS_GET_LSB_DEPTH | Gets the encoder's configured signal depth. |
OPUS_GET_MAX_BANDWIDTH | Gets the encoder's configured maximum allowed bandpass. |
OPUS_GET_PACKET_LOSS_PERC | Gets the encoder's configured packet loss percentage. |
OPUS_GET_PREDICTION_DISABLED | Gets the encoder's configured prediction status. |
OPUS_GET_SIGNAL | Gets the encoder's configured signal type. |
OPUS_GET_VBR | Determine if variable bitrate (VBR) is enabled in the encoder. |
OPUS_GET_VBR_CONSTRAINT | Determine if constrained VBR is enabled in the encoder. |
OPUS_SET_APPLICATION | Configures the encoder's intended application. |
OPUS_SET_BANDWIDTH | Sets the encoder's bandpass to a specific value. |
OPUS_SET_BITRATE | Configures the bitrate in the encoder. |
OPUS_SET_COMPLEXITY | Configures the encoder's computational complexity. |
OPUS_SET_DNN_BLOB | Provide external DNN weights from binary object (only when explicitly built without the weights). |
OPUS_SET_DRED_DURATION | If non-zero, enables Deep Redundancy (DRED) and use the specified maximum number of 10-ms redundant frames. |
OPUS_SET_DTX | Configures the encoder's use of discontinuous transmission (DTX). |
OPUS_SET_EXPERT_FRAME_DURATION | Configures the encoder's use of variable duration frames. |
OPUS_SET_FORCE_CHANNELS | Configures mono/stereo forcing in the encoder. |
OPUS_SET_INBAND_FEC | Configures the encoder's use of in-band forward error correction (FEC). |
OPUS_SET_LSB_DEPTH | Configures the depth of signal being encoded. |
OPUS_SET_MAX_BANDWIDTH | Configures the maximum bandpass that the encoder will select automatically. |
OPUS_SET_PACKET_LOSS_PERC | Configures the encoder's expected packet loss percentage. |
OPUS_SET_PREDICTION_DISABLED | If set to 1, disables almost all use of prediction, making frames almost completely independent. This reduces quality. |
OPUS_SET_SIGNAL | Configures the type of signal being encoded. |
OPUS_SET_VBR | Enables or disables variable bitrate (VBR) in the encoder. |
OPUS_SET_VBR_CONSTRAINT | Enables or disables constrained VBR in the encoder. |