libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay::GetVUData Method

Get VU data for left and right channel

C++
void GetVUData(int % LeftChannel, int % RightChannel);
Parameters 
Description 
int % LeftChannel 
Reference to variable receiving left channel VU level. Level range is from 0 to 100. 
int % RightChannel 
Reference 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. 

int left = 0;
int right = 0;
player->GetVUData(left, right);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr