Copyright © 2001-2011 MultiMedia Soft

SoundDirectionGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the actual sound's playback direction. The playback direction can be modified through the SoundDirectionSet method.

 

 

Syntax

 

[Visual Basic]

control.SoundDirectionGet (

nPlayer as Integer

) as enumSoundDirections


 

[C++]

short control.SoundDirectionGet (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value >= 0

The current playback direction.

Supported values are the following:

Mnemonic constant

Value

Meaning

DIRECTION_FORWARD

0

Sound is played in normal forward direction

DIRECTION_REVERSE

1

Sound is played in reverse direction