• 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
AUHAL deinterleaved data format - how to handle it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUHAL deinterleaved data format - how to handle it


  • Subject: AUHAL deinterleaved data format - how to handle it
  • From: Simon Liu <email@hidden>
  • Date: Thu, 14 Oct 2004 18:01:25 +0100

Hi,

As stated in TN2091, an AUHAL's AudioBufferList points to
deinterleaved data.  In my tests, for my built-in audio controller,
there are 2 buffers, with each buffer holding 1 channel worth of data.
 This is only for HALOutput AUs, and not normal AUs right?

- In my AUHAL render callback, I want to copy the data to a buffer,
which is periodically looked at by a thread which uses AudioConverter
with a AudioFile to write out an AIFF file.  How can I interleave the
data efficiently, so I can use AudioConverter?

- Or is it better to create an AUGraph where the AUHAL's output is
already interleaved?  e.g.
AUHAL--->AUSomething
Where my file writer periodically calls AURender on AUSomething, and
the render callback for AUSomething gets data from AUHAL, and copies
the data to a buffer.

Regards,
Simon
 _______________________________________________
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: AUHAL deinterleaved data format - how to handle it
      • From: David Duncan <email@hidden>
  • Prev by Date: GSM610 Codec support?
  • Next by Date: Re: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?
  • Previous by thread: Re: GSM610 Codec support?
  • Next by thread: Re: AUHAL deinterleaved data format - how to handle it
  • Index(es):
    • Date
    • Thread