Copyright © 2001-2019 MultiMedia Soft

GetFrequency method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the frequency of the loaded sound expressed in Hertz.

 

The availability of this information requires a prior call to the ReadSoundInfo method.

 

 

Syntax

 

[Visual Basic]

control.GetFrequency (

nPlayer as Integer

) as Long


 

[C++]

long control.GetFrequency (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

Return value

 

Value

Meaning

 

 

Negative value

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

> 0

The frequency of the loaded sound