Copyright © 2008-2019 MultiMedia Soft

SoundComposer.ItemDtmfStringGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the string of DTMF tones and related parameters for a specific item. The string of DTMF tones and related parameters can be modified through the SoundComposer.ItemDtmfStringSet method.

 

For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

control.SoundComposer.ItemDtmfStringGet (

nUniqueId as Long,

ByRef nToneDurationMs as Long,

ByRef nSilenceDurationMs as Long,

ByRef nFadeInMs as Long,

ByRef nFadeOutMs as Long

) as String


 

[C++]

string control.SoundComposer.ItemDtmfStringGet (

long nUniqueId,

long *nToneDurationMs,

long *nSilenceDurationMs,

long *nFadeInMs,

long *nFadeOutMs

);


 

Parameter

Description

 

 

nUniqueId

The unique identifier of the element previously returned by the call to the SoundComposer.ItemDtmfStringAdd method.

nToneDurationMs

Reference that, on return from the method call, will contain the duration of each DTMF tone expressed in milliseconds

nSilenceDurationMs

Reference that, on return from the method call, will contain the duration of silence between each DTMF tone expressed in milliseconds

nFadeInMs

Reference that, on return from the method call, will contain the duration of the fade-in at the beginning of each DTMF tone expressed in milliseconds.

nFadeOutMs

Reference that, on return from the method call, will contain the duration of the fade-out at the end of each DTMF tone expressed in milliseconds.

 

 

 

Return value

 

Value

Meaning

 

 

Empty string

The information is not available or an error occurred (see the LastError property for further error details)

Valid string

String containing DTMF characters that will dial the phone number.