• 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: *Interleaved* input with AUHAL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *Interleaved* input with AUHAL?


  • Subject: Re: *Interleaved* input with AUHAL?
  • From: "Mike Kluev" <email@hidden>
  • Date: Wed, 17 Dec 2008 11:09:36 +0300

On Tue, 16 Dec 2008 10:53:40 -0800 William Stewart <email@hidden> wrote:

That would be it - it is important that the layout of the audio buffer list matches the format. I've found it helpful to have a class that wraps this up for me, the AUOutputBL class in public utility, where it will just create an ABL for you based on the ASBD you get from an audio unit.

BTW, I do not fill the whole struct like it is done in AUOutputBL. All the
fields are zeroed except for the mNumberBuffers field and it works ok.
Is that not correct? I do this:


AudioBufferList10 buffer = {};

buffer.mNumberBuffers = isInterleaved ? 1 : numChannels;

OSStatus err = AudioUnitRender(unit, flags, timeStamp,
  busNumber, numberFrames, (AudioBufferList*)&buffer);

Mike

_______________________________________________
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: *Interleaved* input with AUHAL?
      • From: William Stewart <email@hidden>
References: 
 >Non-interleaved input with AUHAL? (From: "Mike Kluev" <email@hidden>)
 >Re: Non-interleaved input with AUHAL? (From: William Stewart <email@hidden>)
 >*Interleaved* input with AUHAL? [Was: Non-interleaved input with AUHAL?] (From: "Mike Kluev" <email@hidden>)
 >Re: *Interleaved* input with AUHAL? (From: "Mike Kluev" <email@hidden>)
 >Re: *Interleaved* input with AUHAL? (From: William Stewart <email@hidden>)

  • Prev by Date: Re: 10.5.6 fixes the AudioQueue bugs
  • Next by Date: Re: Audio buffers in user-land audio driver
  • Previous by thread: Re: *Interleaved* input with AUHAL?
  • Next by thread: Re: *Interleaved* input with AUHAL?
  • Index(es):
    • Date
    • Thread