TravisWhitaker / libPOLY

A Musical Instrument for Computers
MIT License
13 stars 7 forks source link

Seems borked on OS X #2

Open TravisWhitaker opened 10 years ago

TravisWhitaker commented 10 years ago

Probably fixable by actually using libtool like we're supposed to.

mansam commented 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.

TravisWhitaker commented 10 years ago

Hmm, are you running Sid? @Mikejmoffitt , what version of libao are you using?

Mikejmoffitt commented 10 years ago

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.

TravisWhitaker commented 10 years ago

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.