naudio / NAudio

Audio and MIDI library for .NET
MIT License
5.52k stars 1.1k forks source link

Administrative rights problem #332

Open Z3R0XZ opened 6 years ago

Z3R0XZ commented 6 years ago

When I run applications with administrative rights, play a sound then close the app the application name stays on Windows Mixer for a while then the name disappears and changes for "Name not available" but stays on the sound mixer, I can reproduce this even with the demos, the funny thing is when I run apps without admin rights, play a sound and close it is instantly removed from sound mixer. Problem on sound mixer

markheath commented 6 years ago

That's strange, not sure what would cause that. Possibly the window has closed, but a background thread is still running? Can you check in process explorer if the demo app is still running?

Z3R0XZ commented 6 years ago

The thread closes with the window normally. I don't know why only happens when I lunch the app with admin rights.

markheath commented 6 years ago

OK, well thanks for reporting, but not sure what (if anything) can be done about this at the moment.