Copyright © 2006-2018 MultiMedia Soft

RecordedSound.SoundDirectionSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the recorded 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 RecordedSound.SoundDirectionEnable method.

The current playback direction can be obtained through the RecordedSound.SoundDirectionGet method.

It's important to note that calling the RecordedSound.Stop method will force the forward direction of the playing sound.

 

For further details about recorded sound methods refer to the RecordedSound object section.

For further details see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

control.RecordedSound.SoundDirectionSet (

nDirection as Integer

) as enumSoundDirections


 

[C++]

short control.RecordedSound.SoundDirectionSet (

short nDirection

);


 

 

Parameter

Description

 

 

nDirection

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

 

 

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.