Open TravisWhitaker opened 10 years ago
I saw the same segfaulting-when-not-given-a-filehandle problem on my Debian box when using libPOLY through my Python bindings, so I am beginning to doubt it's an OSX specific problem.
Hmm, are you running Sid? @Mikejmoffitt , what version of libao are you using?
I'm running Testing, and I have libao-dev at 1.1.0-2. I think something odd might be going on, though, as I successfully built libPOLY, installed it, used it, and then installed libao-dev in that order. Apparently I didn't have that installed...
Either way, MSF runs great without wave output. Mansam, try building MSF on your machine as it's a pretty thorough test case for libPOLY.
Also, do you have PulseAudio running? If you do, make sure it isn't configured to intercept ALSA calls, PA's emulation of ALSA doesn't support(and silently ignores) tweaking the hardware buffer parameters which libPOLY relies on. We need to turn buffering off, otherwise there will be a propagation delay between generator parameter changes and the samples sitting in the hardware buffer.
Probably fixable by actually using libtool like we're supposed to.