libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetVUData Method

Get VU data for left and right channel

C#
public void GetVUData(ref int LeftChannel, ref int RightChannel);
Parameters 
Description 
ref int LeftChannel 
Reference to variable receiving left channel VU level. Level range is from 0 to 100. 
ref 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(ref left, ref right);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr