Copyright © 2008-2018 MultiMedia Soft

FromSamplesToMs method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given an amount of time in samples obtains the corresponding number of milliseconds.

 

 

Syntax

 

[Visual Basic]

Public Function FromSamplesToMs (

nTimeInSamples as Int64

) as Int64


 

[C#]

public Int64 FromSamplesToMs (

Int64 nTimeInSamples

);


 

[C++]

public: Int64 FromSamplesToMs (

Int64 nTimeInSamples

);


 

 

Parameter

Description

 

 

nTimeInSamples

Time, expressed in samples, that needs to be converted

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

Value >= 0

Time expressed in milliseconds