Benjamin Kastelic
Benjamin Kastelic
Could you please provide the structure of your project or better yet, a link to the repo, so I can take closer look.
Win10 x64. It happens after sometime. And it seems quite random.
One more thing ... My application is basically a stopwatch, which plays a command on start and plays another random audio track on end. It seems that just one specific...
Here you go: [fireDeptStopwatchGist.zip](https://github.com/xenolightning/AudioSwitcher/files/833425/fireDeptStopwatchGist.zip) Run the project, press Start, wait for the counter to start counting and then press Stop. You should get the mentioned exception.
It seems that the main problem is this block of code: `using (var player = new SoundPlayer((UnmanagedMemoryStream) sound)) { player.Play(); }` If I remove the _using_ block and normally create...