When generating a sinewave I get a lot of clicks, but they dissappear when I connect an external soundcard and set that one to default in my os, while selecting my laptopspeakers in OpenFrameworks. Samplerate,buffersize and nBuffers do not seem to matter. I also tried changing from RTaudio to Portaudio which did not solve it.
I’m using OF 007, and OSX 10.6.8 on a MacBook Pro (15-inch, 2.53GHz, Mid 2009)
Any chance you could post the code that you’re using? It could be that the max or min value that you’re passing to your soundcard is causing it to drop out, I’ve found that any time I’m generating sound I need to ofClamp() the values that I’m sending.
it’s possible that your soundcard doesn’t accept only 1 output channel, try setting stereo and see if that solves it. also always use the values that are passed as arguments to the function, it’s not guaranted that the values that you ask for can actually be set