Set equalizer preamp gain.
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 |
1 |
All OK. |
0 |
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.
GetEqualizerPreampGain, SetEqualizerPoints, GetEqualizerPoints, SetEqualizerParam, GetEqualizerParam, SetEqualizerBandGain, GetEqualizerBandGain, EnableEqualizer
zplay_GetEqualizerPreampGain, zplay_SetEqualizerPoints, zplay_GetEqualizerPoints, zplay_SetEqualizerParam, zplay_GetEqualizerParam, zplay_SetEqualizerBandGain, zplay_GetEqualizerBandGain, zplay_EnableEqualizer
Raise preamp gain for 2 decibels.
// raise preamp gain for 2 decibels
instance->SetEqualizerPreampGain(2000);
// 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 |