SilenceDetectionRealTimeEnable method |
|
Remarks
Enables/disables realtime silence detection during sound playback. Parameters involved in realtime silence detection can be modified through the SilenceDetectionRealTimeParamsSet method.
This method doesn't work with sounds with more than 2 channels (5.1 or 7.1) or if the EnableMixingFeatures property has been set to "false".
For further details about silence detection management see the How to detect silent portions of sound files tutorial.
Syntax
[Visual Basic] control.SilenceDetectionRealTimeEnable ( nPlayerIndex as Integer, bEnable as enumBoolean ) as enumErrorCodes |
[C++] short control.SilenceDetectionRealTimeEnable ( short nPlayerIndex, short bEnable ); |
Parameter |
Description |
||||||
|
|
||||||
nPlayerIndex |
Number representing the zero-based index of the involved player |
||||||
bEnable |
Boolean value that specifies if realtime silence detection must be enabled or not. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |