The DX_SVMT data structure contains parameters for the Speed/Volume Modification Table.
You can specify the rate of change for speed or volume adjustments by customizing the Speed/Volume Modification Table (SVMT) per channel. The DX_SVMT structure has 21 entries that represent different levels of speed or volume. This structure is used to set or retrieve the SVMT values, using dx_setsvmt( ) or dx_getsvmt( ) respectively.
5.12.2. DX_SVMT DefinitionThe typedef for the structure is as follows:
typedef struct DX_SVMT{
char decrease[10]; /* Ten Downward Steps */
char origin; /* Regular Speed or Volume */
char increase[10]; /* Ten Upward Steps */
} DX_SVMT;
5.12.3. DX_SVMT Parameters
Field |
Description | |
decrease[10] |
Decrease Speed or Volume: This array provides a maximum of 10 downward steps from the normal speed or volume (-8 dB). The size of the steps is specified in this table. The following valid values can be used (specify the null-entry marker for all unused table entries): | |
Speed Table |
| |
Volume Table |
| |
Both |
| |
origin |
Origin: Specifies the standard play speed or volume. This is the original setting or starting point for Speed and Volume Control. Set the origin to 0 to assume normal playback speed/volume for the standard (normal volume is -8 dB). | |
increase[10] |
This array provides a maximum of 10 upward steps from the normal speed or volume. The size of the steps is specified in this table. The following valid values can be used (specify the null-entry marker for all unused table entries): | |
Speed Table |
| |
Volume Table |
| |
Both |
| |
5.12.4. Default Values in the Speed/Volume Modification TableIf you use dx_setsvmt( ) to customize the SVMT, the changes are saved permanently. You can obtain the manufacturer's original defaults by specifying SV_SETDEFAULT for the dx_setsvmt( ) function.
Table 3. Default Speed/Volume Modification Table
|
Field Name in |
Index |
SMT: Percent Deviation From Normal Speed |
VMT: Decibel Deviation From Normal Volume | |
|
decrease[0] |
-10 |
-128 |
-20 | |
|
decrease[1] |
-9 |
-128 |
-18 | |
|
decrease[2] |
-8 |
-128 |
-16 | |
|
decrease[3] |
-7 |
-128 |
-14 | |
|
decrease[4] |
-6 |
-128 |
-12 | |
|
decrease[5] |
-5 |
-50 |
-10 | |
|
decrease[6] |
-4 |
-40 |
-08 | |
|
decrease[7] |
-3 |
-30 |
-06 | |
|
decrease[8] |
-2 |
-20 |
-04 | |
|
decrease[9] |
-1 |
-10 |
-02 | |
|
origin |
0 |
0 |
0 | |
|
increase[0] |
+1 |
+10 |
+02 | |
|
increase[1] |
+2 |
+20 |
+04 | |
|
increase[2] |
+3 |
+30 |
+06 | |
|
increase[3] |
+4 |
+40 |
+08 | |
|
increase[4] |
+5 |
+50 |
+10 | |
|
increase[5] |
+6 |
-128 |
-128 | |
|
increase[6] |
+7 |
-128 |
-128 | |
|
increase[7] |
+8 |
-128 |
-128 | |
|
increase[8] |
+9 |
-128 |
-128 | |
|
increase[9] |
+10 |
-128 |
-128 |
Click here to contact Dialogic Customer Engineering
Copyright 2002, Dialogic Corporation