Get dynamic stream load.
virtual __stdcall void GetDynamicStreamLoad(TStreamLoadInfo * pStreamLoadInfo) = 0;
Parameters |
Description |
TStreamLoadInfo * pStreamLoadInfo |
Pointer to TStreamLoadInfo structure receiving informations about stream load. User must allocate memory for this structure. |
None.
Use this function to to check if stream is low with data, so you can push more data into stream.
TStreamLoadInfo sload; if(instance->GetManagedStreamLoad(&sload)) printf("Buffers: %u, bytes: %u\n", sload.NumberOfBuffers, sload.NumberOfBytes);
TStreamLoadInfo sload; if(zplay_GetManagedStreamLoad(instance, &sload)) printf("Buffers: %u, bytes: %u\n", sload.NumberOfBuffers, sload.NumberOfBytes);
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |