Re: SPBRecord bug on OS 10
Re: SPBRecord bug on OS 10
- Subject: Re: SPBRecord bug on OS 10
- From: Jeff Moore <email@hidden>
- Date: Thu, 28 Feb 2002 12:30:33 -0800
on 2/28/02 11:56 AM, Chris McKinnon <email@hidden> wrote:
>
I've presented this problem on mac-sound-dev, it apparently is a bug, but I
>
thought I'd try here to see if anyone can suggest a workaround or alternative.
>
>
I'm using "SPBRecord" for continuos recording in my Carbon app. Whenever the
>
hardware buffer is full, my "CaptureInterruptRoutine" processes the buffer.
>
My program is an Internet chat program so the interrupt routine is kind of the
>
pulse of my program. This system works on OS 9 but fails on OS 10 (I've
>
tested on 10.1.2 and 10.1.3). The failure is that my interrupt routine is
>
only called once with a "hardwareBufferSize" of 1.
It's a bug, but you can work around it by chaining your asynchronous
SPBRecord calls through the completion routine. This means you also have to
supply a duration to record for and a buffer to record into.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.