Tweak logging and change settings string
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 33s
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 33s
This commit is contained in:
+1
-2
@@ -3,7 +3,6 @@ using NAudio.CoreAudioApi.Interfaces;
|
||||
using Serilog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Windows.Threading;
|
||||
|
||||
@@ -63,7 +62,7 @@ internal class AudioDevice : IAudioSessionEventsHandler
|
||||
|
||||
void IAudioSessionEventsHandler.OnVolumeChanged(float volume, bool isMuted)
|
||||
{
|
||||
_dispatcher.Invoke(() => { Debug.WriteLine($"{_device.DeviceFriendlyName}: {volume} {isMuted} {_device.AudioEndpointVolume.Mute}"); });
|
||||
_dispatcher.Invoke(() => { _logger.Information("{name}: {volume} {isMuted} {mute}", _device.DeviceFriendlyName, volume, isMuted, _device.AudioEndpointVolume.Mute); });
|
||||
}
|
||||
|
||||
void IAudioSessionEventsHandler.OnDisplayNameChanged(string displayName)
|
||||
|
||||
Reference in New Issue
Block a user