Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetCurrentPos method 
 
Remarks 
 
Gets the current position during a playback session. 
The current position is calculated respect to the original sound duration and could not represent the effective playback time if a previous playback rate change, performed through a call to SetTempoPerc and SetRatePerc methods, should occur. If you should need to obtain the effective position in terms of playback time you could use the GetPlaybackTime method. 
 
 
Syntax 
 
[Visual Basic] 
control.GetCurrentPos
nPlayer as Integer 
) as Long
 
[C++] 
long control.GetCurrentPos
short nPlayer 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player whose information must be retrieved
 
 
Return value 
 
The current position: its effective value depends upon the actual value of the ScaleUnits property. A negative value may indicate that an error occurred: check the LastError property in order to see which error occurred. 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents