Copyright © 2001-2019 MultiMedia Soft

SoundGenerator.StreamElementDtmfStringGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the string of DTMF tones and related settings for the given DTMF element.

 

For further details about sound generation see the SoundGenerator object and the How to generate wave tones, noises, DTMF tones and text to speech tutorial..

 

 

Syntax

 

[Visual Basic]

control.SoundGenerator.StreamElementDtmfStringGet (

nPlayer as Integer,

nUniqueId as Long,

ByRef nToneDurationMs as Long,

ByRef nSilenceDurationMs as Long,

ByRef nFadeInMs as Long,

ByRef nFadeOutMs as Long

) as String


 

[C++]

BSTR control.SoundGenerator.StreamElementDtmfStringGet (

short nPlayer,

long nUniqueId,

long *nToneDurationMs,

long *nSilenceDurationMs,

long *nFadeInMs,

long *nFadeOutMs

 

);


 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nUniqueId

The unique identifier of the element previously returned by one of the following calls:

- SoundGenerator.StreamChannelAddDtmfString

- SoundGenerator.StreamChannelElementUniqueIdGet

nToneDurationMs

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

nSilenceDurationMs

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

nFadeInMs

Reference to a value 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 to a value 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 characters of DTMF tones