Copyright © 2005-2018 MultiMedia Soft

Effects.SoundDirectionEnable method

Previous pageReturn to chapter overviewNext page



Enables/disables the possibility to play the loaded song in reverse through future calls to the 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.





[Visual Basic]

Public Function SoundDirectionEnable (

nPlayerIndex as Int16,

bEnable as Boolean

) as enumErrorCodes



public enumErrorCodes SoundDirectionEnable (

Int16 nPlayerIndex,

bool bEnable




public: enumErrorCodes SoundDirectionEnable (

Int16 nPlayerIndex,

bool bEnable









Number representing the zero-based index of the involved player


Boolean value indicating if the control needs to resample the stream for reverse playback support.

Supported values are the following:

Mnemonic constant


false (default)

Disable reversed sound creation


Enable reversed sound creation



Return value






Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.