• 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
Interleaving and AudioBufferList woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interleaving and AudioBufferList woes


  • Subject: Interleaving and AudioBufferList woes
  • From: "Malcolm Haylock" <email@hidden>
  • Date: Thu, 7 Oct 2004 07:24:21 +1000 (EST)
  • Importance: Normal

Hi All,

I have a CoreAudio program and AudioUnit that have both run into the same
problem.

The core rendering engine of both the program and AU creates 8 interleaved
channels of signed 32-bit integer:

SInt32 intBuffer[bufferSize][8]

Both the program and AU in each of their rendering cycles (Render() in the
AU and an AudioDeviceIOProc() in the program) receive an AudioBufferList
to output the data.

My question is this: is there any consistency to how the buffers will be
organised in the AudioBufferList? Or do I have to allow for all possible
combinations e.g.
1) 1 buffer of 8 interleaved channels
2) 2 buffers of 4 interleaved channels
3) 4 buffers of 2 interleaved channels
4) 8 buffers of 1 channel

>From some experimentation it seems they will always be non-interleaved
(case 4 above) but is this always the case? Is it different for an AU and
a program?

Thanks,
Malcolm Haylock
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Interleaving and AudioBufferList woes
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Newbie questions: How to implement an AU rendering CPU-expensive N->M effects
  • Next by Date: Re: Interleaving and AudioBufferList woes
  • Previous by thread: Re: Newbie questions: How to implement an AU rendering CPU-expensive N->M effects
  • Next by thread: Re: Interleaving and AudioBufferList woes
  • Index(es):
    • Date
    • Thread