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

Set equalizer preamp gain.

C++
virtual __stdcall int GetEqualizerPreampGain() = 0;
Parameters 
Description 
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