Remarks
Occurs during playback of a sound stream having realtime silence detection enabled through the SilenceDetectionRealTimeEnable method.
For further details about silence detection management see the How to detect silent portions of sound files tutorial.
Syntax
[Visual Basic]
SilenceDetectionStateChange (
ByVal nPlayer as Integer,
ByVal bIsSilent as enumBoolean,
ByVal nPositionInMs as Long
)
|
|
[C++]
void SilenceDetectionStateChange (
short nPlayer,
short bIsSilent,
long nPositionInMs
);
|
|
Parameters
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
bIsSilent
|
Boolean value specifying detection of silent data or of audible data.
Supported values are the following:
Mnemonic constant
|
Meaning
|
BOOL_FALSE
|
Audible sound data has been detected
|
BOOL_TRUE
|
Silent sound data has been detected
|
|
nPositionInMs
|
Number representing the position inside the sound stream, expressed in milliseconds, where the silence threshold was crossed.
|
|