Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: SPBRecord bug on OS 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SPBRecord bug on OS 10



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.

References: 
 >SPBRecord bug on OS 10 (From: Chris McKinnon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.