Tweak logging and change settings string
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 33s

This commit is contained in:
2026-08-18 14:43:22 -04:00
parent 6ba4854bd8
commit 8c63b93d09
4 changed files with 9 additions and 5 deletions
+1 -2
View File
@@ -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)