|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.RequestSoundSilenceDetection (
nPlayer as Integer,
nThresholdInitial as Long,
nThresholdFinal as Long
) as enumErrorCodes
|
|
[C++]
short control.RequestSoundSilenceDetection (
short nPlayer,
Int32 nThresholdInitial,
Int32 nThresholdFinal
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
|
nThresholdInitial
|
Number representing the silence threshold at the start of the loaded sound: can assume values from 0 (no sound) to 32767 (max volume).
|
|
nThresholdFinal
|
Number representing the silence threshold at the end of the loaded sound: can assume values from 0 (no sound) to 32767 (max volume).
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|