Effects.SoundDirectionSet method |
|
Remarks
Sets the sound's playback direction. This method doesn't have any effect if reversed sound management has not been enabled by a previously call to the Effects.SoundDirectionEnable method.
The current playback direction can be obtained through the Effects.SoundDirectionGet method.
It's important to note that calling one of the following methods will force the setting of the forward direction of the playing sound: StopSound, RewindSound and ForwardSound.
See the How to apply special effects to a playing sound section for further details.
Syntax
[Visual Basic] control.Effects.SoundDirectionSet ( nPlayer as Integer, nDirection as Integer ) as enumSoundDirections |
[C++] short control.Effects.SoundDirectionSet ( short nPlayer, short nDirection ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||
nDirection |
The current playback direction. 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. |