Effects.SoundDirectionEnable method |
|
Remarks
Enables/disables the possibility to play the loaded song in reverse through future calls to the Effects.SoundDirectionSet method.
This method will have effect only for the following audio formats: MP1, MP2, MP3, MP4, AIFF, AAC, M4A, AC3, WavPack, ALAC, WAV, OGG Vorbis, WMA, ASF, WMV, FLAC, Speex, Musepack and Monkey's Audio (APE).
Other audio formats, including video clips managed by DirectShow, Internet streams loaded through the LoadInternetStream method and audio queues created through the StreamQueueCreate method, don't come with support for reverse playback.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] control.Effects.SoundDirectionEnable ( nPlayer as Integer, bEnable as enumBoolean ) as enumErrorCodes |
[C++] short control.Effects.SoundDirectionEnable ( short nPlayer, short bEnable ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||
bEnable |
Boolean value indicating if the control needs to resample the stream for reverse playback support. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The call was successful. |