Open geraintluff opened 10 years ago
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: