Get current position.
void GetPosition(TStreamTime % time);
Parameters |
Description |
TStreamTime % time |
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.
TStreamTime pos; player->GetPosition(pos);
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |