libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayCpp::zplay_GetVUData Function

Get VU data for left and right channel

C++
__stdcall __declspec(dllimport) void zplay_GetVUData(ZPLAY_HANDLE handle, unsigned int * pnLeftChannel, unsigned int * pnRightChannel);
Parameters 
Description 
ZPLAY_HANDLE handle 
ZPLAY handle. Get this handle with zplay_CreateZPlay
unsigned int * pnLeftChannel 
Pointer to variable receiving left channel VU level. Level range is from 0 to 100. 
unsigned int * pnRightChannel 
Pointer to variable receiving right channel VU level. Level range is from 0 to 100. 

None.

Use this function to get VU data for your VU meter. Range of VU level data is 0 - 100. 

Note: VU data are fully synchronized with audio data from wave buffer.  

Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr