disable signal level meter in headless mode since it is not used anyway in that mode

This commit is contained in:
Volker Fischer 2020-08-10 16:48:37 +02:00
parent c9e9dd59a6
commit ad5537f887

View file

@ -987,10 +987,12 @@ void CClient::ProcessAudioDataIntern ( CVector<int16_t>& vecsStereoSndCrd )
// Transmit signal ---------------------------------------------------------
// update stereo signal level meter
// update stereo signal level meter (not needed in headless mode)
#ifndef HEADLESS
SignalLevelMeter.Update ( vecsStereoSndCrd,
iMonoBlockSizeSam,
true );
#endif
// add reverberation effect if activated
if ( iReverbLevel != 0 )