libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetPosition Method

Get current position.

Pascal
procedure GetPosition(out Position: TStreamTime);
Parameters 
Description 
out Position: TStreamTime 
Reference to TStreamTime. User must allocate memory for this parameter. 

None.

This function retrieves current position in TStreamTime format. All members of TStreamTime structure are valid. If stream is not playing or stream is closed, position is 0.

var
  Position: TStreamTime;

begin
  player.GetPosition(Position);
end;
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr