Copyright © 2006-2018 MultiMedia Soft

PositionMarkerPlayRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Plays the sound range, identified by two given position markers, of the last recorded sound. This method can be considered as an alternative to the RecordedSound.PlayRange method.

 

For details about recording from input devices see the How to perform a recording session tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function PositionMarkerPlayRange (

nUniqueIdStart as Int32,

nUniqueIdEnd as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes PositionMarkerPlayRange (

Int32 nUniqueIdStart,

Int32 nUniqueIdEnd

);


 

[C++]

public: enumErrorCodes PositionMarkerPlayRange (

Int32 nUniqueIdStart,

Int32 nUniqueIdEnd

);


 

 

Parameter

Description

 

 

nUniqueIdStart

Number representing the unique identifier of the start position marker.

The number of available position markers can be retrieved at the end of the recording session through the PositionMarkerCountGet method and, for each position marker inside the list, the related unique identifier.can be obtained through the PositionMarkerUniqueIdGet method.

nUniqueIdEnd

Number representing the unique identifier of the end position marker. Set this value to -1 if you want to play till the end of the recorded sound.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.