• 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: How to fill the ioData parameter in the Audio Unit rendering call back?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fill the ioData parameter in the Audio Unit rendering call back?


  • Subject: Re: How to fill the ioData parameter in the Audio Unit rendering call back?
  • From: james mccartney <email@hidden>
  • Date: Thu, 12 Mar 2009 17:51:12 -0700


On Mar 12, 2009, at 3:36 PM, james mccartney wrote:

[Callback function in CAPlayThru sample code]

Actually it looks like you got this from the MatrixMixerTest.
In that code the input buffer is interleaved stereo floats from a file.
So the code below is deinterleaving them into two output buffers.

      float *in = d.bufs[inBusNumber].data;

...


              outA[i] = in[phase++];
              outB[i] = in[phase++];

 _______________________________________________
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

References: 
 >How to fill the ioData parameter in the Audio Unit rendering call back? (From: Xu Ting <email@hidden>)
 >Re: How to fill the ioData parameter in the Audio Unit rendering call back? (From: james mccartney <email@hidden>)

  • Prev by Date: Re: How to fill the ioData parameter in the Audio Unit rendering call back?
  • Next by Date: Confused about data returned from an FFT for a AU
  • Previous by thread: Re: How to fill the ioData parameter in the Audio Unit rendering call back?
  • Next by thread: Re: How to fill the ioData parameter in the Audio Unit rendering call back?
  • Index(es):
    • Date
    • Thread