Skip to content

Commit 27d4bf5

Browse files
Merge pull request #63 from pengowray/master
avoid unnecessarily triggering STA COM thread check
2 parents efe4951 + 6617d1c commit 27d4bf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AudioSwitcher.AudioApi.CoreAudio/CoreAudioSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public IObservable<SessionPeakValueChangedArgs> PeakValueChanged
125125
get
126126
{
127127
//only initialize the timer subscription when peak value is requested
128-
if (MeterInformation != null && _timerSubscription == null)
128+
if (_meterInformation != null && _timerSubscription == null)
129129
{
130130
//start a timer to poll for peak value changes
131131
_timerSubscription = PeakValueTimer.PeakValueTick.Subscribe(Timer_UpdatePeakValue);

0 commit comments

Comments
 (0)