We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201f874 commit f3e56f5Copy full SHA for f3e56f5
OpenUtau/ViewModels/PreferencesViewModel.cs
@@ -12,6 +12,7 @@
12
using ReactiveUI;
13
using ReactiveUI.Fody.Helpers;
14
using OpenUtau.Core.Render;
15
+using Serilog;
16
17
namespace OpenUtau.App.ViewModels {
18
public class PreferencesViewModel : ViewModelBase {
@@ -368,7 +369,12 @@ public PreferencesViewModel() {
368
369
}
370
371
public void TestAudioOutputDevice() {
- PlaybackManager.Inst.PlayTestSound();
372
+ try {
373
+ PlaybackManager.Inst.PlayTestSound();
374
+ } catch (Exception e) {
375
+ Log.Error(e, "Failed to play test sound.");
376
+ DocManager.Inst.ExecuteCmd(new ErrorMessageNotification("Failed to play test sound.", e));
377
+ }
378
379
380
public void OpenResamplerLocation() {
0 commit comments