Copyright © 2006-2023 MultiMedia Soft

RecordedSound.GetDuration64 method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the duration, expressed in milliseconds, of the last recorded sound.

 

A formatted string of the sound duration can be retrieved using the RecordedSound.GetFormattedDuration 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 GetDuration64 (

) as Long


 

[C#]

public long GetDuration64 (

);


 

[C++]

public: long GetDuration64 (

);


 

 

 

Return value

 

Value

Meaning

 

 

Value > 0

The sound duration expressed in milliseconds

Negative value

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