diff --git a/Blish HUD/GameServices/GameIntegration/AudioIntegration.cs b/Blish HUD/GameServices/GameIntegration/AudioIntegration.cs index 580b2ef67..ed444c936 100644 --- a/Blish HUD/GameServices/GameIntegration/AudioIntegration.cs +++ b/Blish HUD/GameServices/GameIntegration/AudioIntegration.cs @@ -76,7 +76,14 @@ public override void Update(GameTime gameTime) { if (_timeSinceCheck > CHECK_INTERVAL) { _timeSinceCheck -= CHECK_INTERVAL; - _audioPeakBuffer.PushValue(_processMeterInformation.GetPeakValue()); + try { + _audioPeakBuffer.PushValue(_processMeterInformation.GetPeakValue()); + } catch (Exception e) { + // Punish audio clock for 10 seconds + _timeSinceCheck = -10000; + + Logger.Debug(e, "Getting meter volume failed."); + } _averageGameVolume = null; }