-
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
Segfault on Mac when the audio system is turned off #29
Comments
Oh interesting! I haven't seen this issue before. I'm not sure when I'll get a chance to work, but I bet the audio engine needs to be restarted |
I might well have mis-diagnosed the cause - turning off the D2A might be coincidental. However, it seems to consistently have problems the first time I run it in a while, but work fine second time I run the same thing. |
I'm sorry, I just started a new job so I have 0 time to actually dig into this issue, but I'm happy to help direct your debugging. Are you starting the script fresh after waiting for a while, or is the same audio engine still instantiated from a while ago? What happens if you just create a new audio engine instance (restarting everything) when you try to run after a break? |
This is starting the script fresh after waiting for a while. I'm afraid I'm not quite sure what you mean by your last sentence. |
Firstly, I'd like to say thanks for the module. :)
Now the issue: when no audio is played on a Mac for a while, it seems to turn off the audio system or something.
When I attempt to use
node-core-audio
after this happens (so I'd expect it to turn on again), it segfaults. Here's the stack trace I got from lldb:The text was updated successfully, but these errors were encountered: