libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.GetVUData Method

Get VU data for left and right channel

Pascal
procedure GetVUData(out LeftChannel: Cardinal; out RightChannel: Cardinal);
Parameters 
Description 
out LeftChannel: Cardinal 
Reference to variable receiving left channel VU level. Level range is from 0 to 100. 
out RightChannel: Cardinal 
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. 

var
 LeftChannelVUData: Cardinal;
 RightChannelVUData: Cardinal;

begin
  player.GetVUData(LeftChannelVUData, RightChannelVUData);
end;
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr