diff --git a/SoundSwitch.Audio.Manager/Interop/Client/Extended/Post21H2AudioPolicyConfig.cs b/SoundSwitch.Audio.Manager/Interop/Client/Extended/Post21H2AudioPolicyConfig.cs index e8168cfa6f..f3661c8299 100644 --- a/SoundSwitch.Audio.Manager/Interop/Client/Extended/Post21H2AudioPolicyConfig.cs +++ b/SoundSwitch.Audio.Manager/Interop/Client/Extended/Post21H2AudioPolicyConfig.cs @@ -36,7 +36,7 @@ public string GetPersistedDefaultAudioEndpoint(uint processId, EDataFlow flow, E { if (result != HRESULT.PROCESS_NO_AUDIO) { - throw new InvalidComObjectException($"Can't set the persistent audio endpoint: {result}"); + throw new InvalidComObjectException($"Can't get the persistent audio endpoint: {result}"); } return null; diff --git a/SoundSwitch.Audio.Manager/Interop/Client/ExtendedPolicyClient.cs b/SoundSwitch.Audio.Manager/Interop/Client/ExtendedPolicyClient.cs index b0389c01a3..f35d32430c 100644 --- a/SoundSwitch.Audio.Manager/Interop/Client/ExtendedPolicyClient.cs +++ b/SoundSwitch.Audio.Manager/Interop/Client/ExtendedPolicyClient.cs @@ -93,7 +93,7 @@ public void SetDefaultEndPoint(string deviceId, EDataFlow flow, IEnumerable