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

Set equalizer preamp gain.

C++
virtual __stdcall int SetEqualizerPreampGain(int nGain) = 0;
Parameters 
Description 
int nGain 
Preamp gain in millidecibels. Positive value boost gain, negative value lower gain. 
Return Values 
Description 
All OK. 
Error. To get error message read here

Note: Band gain is expressed in millidecibels. 

Preamp gain affects all bands.  

Class has by default 10 equalizer bands. See SetEqualizerPoints.

Raise preamp gain for 2 decibels. 

ZPlay C++ Class interface  

// raise preamp gain for 2 decibels
instance->SetEqualizerPreampGain(2000);

 

C Style interface

// raise preamp gain for 2 decibels
zplay_SetEqualizerPreampGain(instance, 2000);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr