|
1 | | -namespace OpusSharp.Enums |
| 1 | +namespace OpusSharp.Core.Enums |
2 | 2 | { |
3 | 3 | /// <summary> |
4 | 4 | /// Encoder related CTL's. |
5 | 5 | /// </summary> |
6 | 6 | public enum EncoderCtl : int |
7 | 7 | { |
8 | | - SET_COMPLEXITY = 4010, |
9 | | - GET_COMPLEXITY = 4011, |
10 | | - SET_BITRATE = 4002, |
11 | | - GET_BITRATE = 4003, |
12 | | - SET_VBR = 4006, |
13 | | - GET_VBR = 4007, |
14 | | - SET_VBR_CONSTRAINT = 4020, |
15 | | - GET_VBR_CONSTRAINT = 4021, |
16 | | - SET_FORCE_CHANNELS = 4022, |
17 | | - GET_FORCE_CHANNELS = 4023, |
18 | | - SET_MAX_BANDWIDTH = 4004, |
19 | | - GET_MAX_BANDWIDTH = 4005, |
20 | | - SET_BANDWIDTH = 4008, |
21 | | - SET_SIGNAL = 4024, |
22 | | - GET_SIGNAL = 4025, |
23 | | - SET_APPLICATION = 4000, |
24 | | - GET_APPLICATION = 4001, |
25 | | - GET_LOOKAHEAD = 4027, |
26 | | - SET_INBAND_FEC = 4012, |
27 | | - GET_INBAND_FEC = 4013, |
28 | | - SET_PACKET_LOSS_PERC = 4014, |
29 | | - GET_PACKET_LOSS_PERC = 4015, |
30 | | - SET_DTX = 4016, |
31 | | - GET_DTX = 4017, |
32 | | - SET_LSB_DEPTH = 4036, |
33 | | - GET_LSB_DEPTH = 4037, |
34 | | - SET_EXPERT_FRAME_DURATION = 4040, |
35 | | - GET_EXPERT_FRAME_DURATION = 4041, |
36 | | - SET_PREDICTION_DISABLED = 4042, |
37 | | - GET_PREDICTION_DISABLED = 4043 |
| 8 | + /// <summary> |
| 9 | + /// Configures the encoder's computational complexity. |
| 10 | + /// </summary> |
| 11 | + OPUS_SET_COMPLEXITY_REQUEST = 4010, |
| 12 | + |
| 13 | + /// <summary> |
| 14 | + /// Gets the encoder's complexity configuration. |
| 15 | + /// </summary> |
| 16 | + OPUS_GET_COMPLEXITY_REQUEST = 4011, |
| 17 | + |
| 18 | + /// <summary> |
| 19 | + /// Configures the bitrate in the encoder. |
| 20 | + /// </summary> |
| 21 | + OPUS_SET_BITRATE_REQUEST = 4002, |
| 22 | + |
| 23 | + /// <summary> |
| 24 | + /// Gets the encoder's bitrate configuration. |
| 25 | + /// </summary> |
| 26 | + OPUS_GET_BITRATE_REQUEST = 4003, |
| 27 | + |
| 28 | + /// <summary> |
| 29 | + /// Enables or disables variable bitrate (VBR) in the encoder. |
| 30 | + /// </summary> |
| 31 | + OPUS_SET_VBR_REQUEST = 4006, |
| 32 | + |
| 33 | + /// <summary> |
| 34 | + /// Determine if variable bitrate (VBR) is enabled in the encoder. |
| 35 | + /// </summary> |
| 36 | + OPUS_GET_VBR_REQUEST = 4007, |
| 37 | + |
| 38 | + /// <summary> |
| 39 | + /// Enables or disables variable bitrate (VBR) in the encoder. |
| 40 | + /// </summary> |
| 41 | + OPUS_SET_VBR_CONSTRAINT_REQUEST = 4020, |
| 42 | + |
| 43 | + /// <summary> |
| 44 | + /// Determine if constrained VBR is enabled in the encoder. |
| 45 | + /// </summary> |
| 46 | + OPUS_GET_VBR_CONSTRAINT_REQUEST = 4021, |
| 47 | + |
| 48 | + /// <summary> |
| 49 | + /// Configures mono/stereo forcing in the encoder. |
| 50 | + /// </summary> |
| 51 | + OPUS_SET_FORCE_CHANNELS_REQUEST = 4022, |
| 52 | + |
| 53 | + /// <summary> |
| 54 | + /// Gets the encoder's forced channel configuration. |
| 55 | + /// </summary> |
| 56 | + OPUS_GET_FORCE_CHANNELS_REQUEST = 4023, |
| 57 | + |
| 58 | + /// <summary> |
| 59 | + /// Configures the maximum bandpass that the encoder will select automatically. |
| 60 | + /// </summary> |
| 61 | + OPUS_SET_MAX_BANDWIDTH_REQUEST = 4004, |
| 62 | + |
| 63 | + /// <summary> |
| 64 | + /// Gets the encoder's configured maximum allowed bandpass. |
| 65 | + /// </summary> |
| 66 | + OPUS_GET_MAX_BANDWIDTH_REQUEST = 4005, |
| 67 | + |
| 68 | + /// <summary> |
| 69 | + /// Sets the encoder's bandpass to a specific value. |
| 70 | + /// </summary> |
| 71 | + OPUS_SET_BANDWIDTH_REQUEST = 4008, |
| 72 | + |
| 73 | + /// <summary> |
| 74 | + /// Configures the type of signal being encoded. |
| 75 | + /// </summary> |
| 76 | + OPUS_SET_SIGNAL_REQUEST = 4024, |
| 77 | + |
| 78 | + /// <summary> |
| 79 | + /// Gets the encoder's configured signal type. |
| 80 | + /// </summary> |
| 81 | + OPUS_GET_SIGNAL_REQUEST = 4025, |
| 82 | + |
| 83 | + /// <summary> |
| 84 | + /// Configures the encoder's intended application. |
| 85 | + /// </summary> |
| 86 | + OPUS_SET_APPLICATION_REQUEST = 4000, |
| 87 | + |
| 88 | + /// <summary> |
| 89 | + /// Gets the encoder's configured application. |
| 90 | + /// </summary> |
| 91 | + OPUS_GET_APPLICATION_REQUEST = 4001, |
| 92 | + |
| 93 | + /// <summary> |
| 94 | + /// Gets the total samples of delay added by the entire codec. |
| 95 | + /// </summary> |
| 96 | + OPUS_GET_LOOKAHEAD_REQUEST = 4027, |
| 97 | + |
| 98 | + /// <summary> |
| 99 | + /// Configures the encoder's use of inband forward error correction (FEC). |
| 100 | + /// </summary> |
| 101 | + OPUS_SET_INBAND_FEC_REQUEST = 4012, |
| 102 | + |
| 103 | + /// <summary> |
| 104 | + /// Gets encoder's configured use of inband forward error correction. |
| 105 | + /// </summary> |
| 106 | + OPUS_GET_INBAND_FEC_REQUEST = 4013, |
| 107 | + |
| 108 | + /// <summary> |
| 109 | + /// Configures the encoder's expected packet loss percentage. |
| 110 | + /// </summary> |
| 111 | + OPUS_SET_PACKET_LOSS_PERC_REQUEST = 4014, |
| 112 | + |
| 113 | + /// <summary> |
| 114 | + /// Gets the encoder's configured packet loss percentage. |
| 115 | + /// </summary> |
| 116 | + OPUS_GET_PACKET_LOSS_PERC_REQUEST = 4015, |
| 117 | + |
| 118 | + /// <summary> |
| 119 | + /// Configures the encoder's use of discontinuous transmission (DTX). |
| 120 | + /// </summary> |
| 121 | + OPUS_SET_DTX_REQUEST = 4016, |
| 122 | + |
| 123 | + /// <summary> |
| 124 | + /// Gets encoder's configured use of discontinuous transmission. |
| 125 | + /// </summary> |
| 126 | + OPUS_GET_DTX_REQUEST = 4017, |
| 127 | + |
| 128 | + /// <summary> |
| 129 | + /// Configures the depth of signal being encoded. |
| 130 | + /// </summary> |
| 131 | + OPUS_SET_LSB_DEPTH_REQUEST = 4036, |
| 132 | + |
| 133 | + /// <summary> |
| 134 | + /// Gets the encoder's configured signal depth. |
| 135 | + /// </summary> |
| 136 | + OPUS_GET_LSB_DEPTH_REQUEST = 4037, |
| 137 | + |
| 138 | + /// <summary> |
| 139 | + /// Configures the encoder's use of variable duration frames. |
| 140 | + /// </summary> |
| 141 | + OPUS_SET_EXPERT_FRAME_DURATION_REQUEST = 4040, |
| 142 | + |
| 143 | + /// <summary> |
| 144 | + /// Gets the encoder's configured use of variable duration frames. |
| 145 | + /// </summary> |
| 146 | + OPUS_GET_EXPERT_FRAME_DURATION_REQUEST = 4041, |
| 147 | + |
| 148 | + /// <summary> |
| 149 | + /// If set to 1, disables almost all use of prediction, making frames almost completely independent. |
| 150 | + /// </summary> |
| 151 | + OPUS_SET_PREDICTION_DISABLED_REQUEST = 4042, |
| 152 | + |
| 153 | + /// <summary> |
| 154 | + /// Gets the encoder's configured prediction status. |
| 155 | + /// </summary> |
| 156 | + OPUS_GET_PREDICTION_DISABLED_REQUEST = 4043, |
| 157 | + |
| 158 | + /// <summary> |
| 159 | + /// If non-zero, enables Deep Redundancy (DRED) and use the specified maximum number of 10-ms redundant frames. |
| 160 | + /// </summary> |
| 161 | + OPUS_SET_DRED_DURATION_REQUEST = 4050, |
| 162 | + |
| 163 | + /// <summary> |
| 164 | + /// Gets the encoder's configured Deep Redundancy (DRED) maximum number of frames. |
| 165 | + /// </summary> |
| 166 | + OPUS_GET_DRED_DURATION_REQUEST = 4051, |
| 167 | + |
| 168 | + /// <summary> |
| 169 | + /// Provide external DNN weights from binary object (only when explicitly built without the weights). |
| 170 | + /// </summary> |
| 171 | + OPUS_SET_DNN_BLOB_REQUEST = 4052 |
38 | 172 | } |
39 | 173 | } |
0 commit comments