disable signal level meter in headless mode since it is not used anyway in that mode
This commit is contained in:
parent
c9e9dd59a6
commit
ad5537f887
1 changed files with 3 additions and 1 deletions
|
@ -987,10 +987,12 @@ void CClient::ProcessAudioDataIntern ( CVector<int16_t>& vecsStereoSndCrd )
|
||||||
|
|
||||||
|
|
||||||
// Transmit signal ---------------------------------------------------------
|
// Transmit signal ---------------------------------------------------------
|
||||||
// update stereo signal level meter
|
// update stereo signal level meter (not needed in headless mode)
|
||||||
|
#ifndef HEADLESS
|
||||||
SignalLevelMeter.Update ( vecsStereoSndCrd,
|
SignalLevelMeter.Update ( vecsStereoSndCrd,
|
||||||
iMonoBlockSizeSam,
|
iMonoBlockSizeSam,
|
||||||
true );
|
true );
|
||||||
|
#endif
|
||||||
|
|
||||||
// add reverberation effect if activated
|
// add reverberation effect if activated
|
||||||
if ( iReverbLevel != 0 )
|
if ( iReverbLevel != 0 )
|
||||||
|
|
Loading…
Reference in a new issue