Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAudioSessionEventsHandler.OnStateChanged not firing when used inside windows service c# #1148

Open
rydenlabs opened this issue Apr 17, 2024 · 1 comment

Comments

@rydenlabs
Copy link

Hi, Can someone please help here!
I am trying to use IAudioSessionEventsHandler.OnStateChanged on audio devices attached. This method fires and works fine when I use it in console application/wpf application but the same code does not work when I use it in windows service.

Is there a restriction in NAudio libraries when it comes to windows service application? If not what am I missing?

@uzairali001
Copy link

I'm running into the same problem. Were you able to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants