Previous PageTable Of Contents../index.htmlIndexNext Page



5.12. DX_SVMT: Speed/Volume Modification Table

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.

NOTE:
Although there are 21 entries available in the DX_SVMT structure, all do not have to be utilized for changing speed or volume; the number of entries can be as small as you require. Ensure that you insert -128 (80h) in any entries that do not contain a speed or volume setting.

The typedef for the structure is as follows:

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

  an integer from -1 to -50, representing a percentage decrease from normal.

 

Volume Table

  an integer from -1 to -30, representing a decibel decrease from normal.

 

Both

  -128 (80h): the null-entry and end-of-table marker.

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

  an integer from 1 to 50, representing a percentage increase from normal.

 

Volume Table

  an integer from 1 to -10, representing a decibel increase from normal.

 

Both

  -128 (80h): the null-entry and end-of-table marker.

If 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
SVMT

Index
(Absolute Position)

 

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


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002