diff --git a/AudioSwitcher.AudioApi.CoreAudio/CoreAudioSession.cs b/AudioSwitcher.AudioApi.CoreAudio/CoreAudioSession.cs index 1b0f5d6..786b96e 100644 --- a/AudioSwitcher.AudioApi.CoreAudio/CoreAudioSession.cs +++ b/AudioSwitcher.AudioApi.CoreAudio/CoreAudioSession.cs @@ -125,7 +125,7 @@ public IObservable PeakValueChanged get { //only initialize the timer subscription when peak value is requested - if (MeterInformation != null && _timerSubscription == null) + if (_meterInformation != null && _timerSubscription == null) { //start a timer to poll for peak value changes _timerSubscription = PeakValueTimer.PeakValueTick.Subscribe(Timer_UpdatePeakValue);