|
SoundDirectionSet method |
![]() ![]()
|
Remarks
Sets the sound's playback direction.
IMPORTANT: This method doesn't have any effect if reversed sound management has not been enabled by a previous call to the SoundDirectionEnable method.
The current playback direction can be obtained through the SoundDirectionGet method.
It's important to note that calling the StopSound method will reset the forward direction of the playing sound.
Syntax
[Visual Basic] control.SoundDirectionSet ( nDirection as Integer ) as enumSoundDirections |
[C++] short control.SoundDirectionSet ( short nDirection ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
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. |