[Openal] Recording and Playing Simultaneously
Chris Robinson
chris.kcat at gmail.com
Mon Jul 23 21:05:59 PDT 2007
Also, a couple point..
On Monday 23 July 2007 02:17:01 pm Spike7d5 wrote:
> char bufferCapture[220500];
220K is a bit much to put on the stack, IMO. Might be better to allocate it
with malloc and free it when you're done, or to put it on the heap (define it
outside of any function).
> alcCaptureSamples(deviceCapture, bufferCapture, samples);
> if ((result = alGetError()) == AL_NO_ERROR)
ALC errors should check alcGetError with the same device as passed to the alc*
function call, and check against the corresponding ALC_ macro.
More information about the Openal
mailing list