Copyright © 2006-2019 MultiMedia Soft

RecordedSound.GetPlaybackPosition method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the current position, expressed in milliseconds, of the current playback session.

 

A formatted string of the current position can be retrieved using the RecordedSound.GetFormattedPlaybackPosition method.

 

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

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

 

 

Syntax

 

[Visual Basic]

Public Function GetPlaybackPosition (

) as Int32


 

[C#]

public Int32 GetPlaybackPosition (

);


 

[C++]

public: Int32 GetPlaybackPosition (

);


 

 

 

Return value

 

Value

Meaning

 

 

Value > 0

The playback position in milliseconds

Negative value

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