• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SPBRecord bug on OS 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

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

  • Prev by Date: Re: [OT] 'lpcm' vs kFloat32Format
  • Next by Date: Reasons why an AudioDeviceIOProc won't be added ?
  • Previous by thread: SPBRecord bug on OS 10
  • Next by thread: Reasons why an AudioDeviceIOProc won't be added ?
  • Index(es):
    • Date
    • Thread