Get current status of stream (playing, paused, echo status, eqaulizer status, ....)
virtual __stdcall void GetStatus(TStreamStatus * pStatus) = 0;
Parameters |
Description |
TStreamStatus * pStatus |
Pointer to TStreamStatus structure receiving status informations. User must allocate memory for this structure. |
None.
Use this function to detect status of various stream states. This is only way to detect if stream is playing or not, if stream is paused or not, ...
Detect if stream is playing.
TStreamStatus status; instance->GetStatus(&status); if(status.fPlay) printf("Playing"); else printf("Stop");
TStreamStatus status; zplay_GetStatus(instance, &status); if(status.fPlay) printf("Playing"); else printf("Stop");
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |