-
Notifications
You must be signed in to change notification settings - Fork 67
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
Detect audio playing with with pycaw, ctypes, and comtypes: Fails #85
Comments
The same thing happened to me
|
Worth noting, the stackoverflow post seems to have found an answer (basically using picaw as intended instead of checking endlessly with CoInitialize and casting tons of IAudioSessionControls ), but it still has a misunderstanding : |
I'm trying to detect whether audio is playing on a Windows 11 machine, python 3.11.3. The program runs correctly for a few iterations, but then fails silently, often at iteration 64.
I posted a question on stack overflow detailing the code and the issues I'm encountering. I'd be grateful for somebody to take a look at that.
Detect audio playing with with pycaw, ctypes, and comtypes: Fails
The text was updated successfully, but these errors were encountered: