NAudio.MmException: BadDeviceId calling waveOutOpen
at NAudio.Wave.WaveOut.Init(IWaveProvider waveProvider)
at ThemeEditor.WPF.AudioPlayer.SetAudioData(Byte[] wavData) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\AudioPlayer.cs:line 81
at ThemeEditor.WPF.MainWindow.LoadBGM_PostExecute(LoadBGMResults result) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.BGM.cs:line 17
at ThemeEditor.WPF.RelayCommandAsync`1.d11.MoveNext() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
NAudio.MmException: BadDeviceId calling waveOutOpen at NAudio.Wave.WaveOut.Init(IWaveProvider waveProvider) at ThemeEditor.WPF.AudioPlayer.SetAudioData(Byte[] wavData) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\AudioPlayer.cs:line 81 at ThemeEditor.WPF.MainWindow.LoadBGM_PostExecute(LoadBGMResults result) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.BGM.cs:line 17 at ThemeEditor.WPF.RelayCommandAsync`1.d11.MoveNext() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b 6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)