# ADI_RECORD_PARMS

#### Dependent functions: adiStartRecording, adiRecordToMemory, adiRecordAsync

Field name | Type | Default | Units | Description
--- | --- | --- | --- | ---
AGCattacktime | DWORD | 14 | ms | Automatic gain control (AGC) attack time constant. This value affects how quickly the gain is reduced for loud signals. Valid AG board and CG board range is 1 through 30000.
AGCdecaytime | DWORD | 304 | ms | AGC decay time constant. This value affects how quickly the gain is increased for soft signals. Valid AG board and CG board range is 1 through 30000.
AGCenable | DWORD | 0 | integer | Flag to enable AGC. Set to 1 to enable AGC and 0 to disable it. Note: AGC must be disabled if you are using voice activity detection.
AGCsilenceampl | INT32 | -49 | dBm | Noise threshold for AGC. Gain adjustment is suspended for signals below this level. Valid AG board and CG board range is -72 through 0.
AGCtargetampl | INT32 | -19 | dBm | Target amplitude for AGC. Valid AG board and CG board range is -72 through 0.
beepampl | INT32 | -20 | dBm | Amplitude of the record beep tone. Valid AG board and CG board range is -54 through 3.
beepfreq | DWORD | 1000 | Hz | Frequency of the record beep tone. 0 disables the beep. Valid AG board and CG board range is 200 through 3600.
beeptime | DWORD | 200 | ms | Duration of the record beep tone. 0 disables the beep. Valid Valid AG board and CG board range is 0 through 65535.
DTMFabort | DWORD | 0xFFFF | mask | Mask that enables you to control which DTMF s abort a record. See Valid DTMF values.
gain | INT32 | 0 | dB | Gain applied to the signal before it is encoded. If automatic gain control (AGC) is enabled, this value is the initial gain when record is started. Valid AG board and CG board range is -54 through 24. Use zero to record with no gain. Values specified out of range are translated into one of the boundary values.
novoicetime | DWORD | 5000 | ms | Maximum length of silence at the beginning of a recording before record is stopped with a reason of CTA_REASON_NO_VOICE. Use 0 to disable this timer. Valid range is 0 through 65535. Bypass by passing a value of 0.
silenceampl | INT32 | -45 | dBm | Maximum signal level considered to be silence. Valid AG board and CG board range is -51 through -15. Dialogic recommends that you use the default values.
silencedeglitch | DWORD | 100 | ms | Maximum non-silent interval that is ignored by the silence detector. Any sounds that last longer than this value reset the silence detector. Valid AG board and CG board range is 0 through 32767. Dialogic recommends that you use the default values.
silencetime | DWORD | 3000 | ms | Maximum length of silence after audio energy is detected before record stops with a reason of CTA_REASON_VOICE_END. Use 0 to disable this timer. Valid range is 0 through 65535. Bypass by passing a value of 0.