• 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: IOProc - which buffer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOProc - which buffer?


  • Subject: Re: IOProc - which buffer?
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 11 Jun 2001 12:48:19 -0700

on 6/9/01 10:44 PM, James McCartney <email@hidden> wrote:

> Are we supposed to just start filling buffer zero and cycle through them, or
> are we supposed to be getting the index of which buffer to fill from
> somewhere?

The AudioBufferList passed to you in your IOProc represents all of the
currently active channels arranged in the order that corresponds to the
hardware buffers the driver is managing. They are all always valid. The HAL
doesn't pass you a channel or a buffer you can't use.

What you do with the data in the AudioBufferList is entirely up to you.

--

Jeff Moore
Core Audio
Apple


References: 
 >IOProc - which buffer? (From: James McCartney <email@hidden>)

  • Prev by Date: Re: Audio Input AudioUnit?
  • Next by Date: MusicSequence implementation questions.
  • Previous by thread: Re: full duplex (future)
  • Next by thread: MusicSequence implementation questions.
  • Index(es):
    • Date
    • Thread