Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetFrequency method 
 
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
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents