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

Re: AUHAL deinterleaved data format - how to handle it


  • Subject: Re: AUHAL deinterleaved data format - how to handle it
  • From: David Duncan <email@hidden>
  • Date: Thu, 14 Oct 2004 14:25:05 -0400

On Oct 14, 2004, at 01:01 PM, Simon Liu wrote:

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?

v2 AUs by default all use deinterleaved formats, this is not restricted to the HAL Output AU.


- 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?

You don't need to interleave the data for the Audio Converter, just configure your converter to accept de-interleaved audio and output interleaved.


--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan

_______________________________________________
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: Simon Liu <email@hidden>
References: 
 >AUHAL deinterleaved data format - how to handle it (From: Simon Liu <email@hidden>)

  • Prev by Date: Re: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?
  • Next by Date: Re: AudioHardwarePlugIn question
  • Previous by thread: AUHAL deinterleaved data format - how to handle it
  • Next by thread: Re: AUHAL deinterleaved data format - how to handle it
  • Index(es):
    • Date
    • Thread