• 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
Input Render Callback and Channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Input Render Callback and Channels


  • Subject: Input Render Callback and Channels
  • From: Darrell Gibson <email@hidden>
  • Date: Mon, 19 Oct 2009 22:47:55 +0100
  • Acceptlanguage: en-US, en-GB
  • Thread-topic: Input Render Callback and Channels

I've created AUGraph that connects an FX AU to a GenericOutput AU (nothing else).  I have then defined an Input Callback on the input to the FX AU to supply data to the graph.  Everything is fine while I'm processing stereo data, but when I want to process mono data I run into problems.  The main problem is that despite changing the ASBD for the AUs to represent only one channel, the Input Callback still expects to process an ABL (ioData) containing two channels (one in each buffer).  Why is this?  I would have assumed that the Input Callback should be called with an ABL that corrosponds to the number of channels that the AUs will be processing.  Is this not correct?

I've been messing around with the code for a few days now and don't seem to be getting any closer to a solution.  Any help would be greatly appreciated.

Thanks,

Darrell Gibson











































.





BU - the UK's Number One New University
The Guardian University Guide 2009 & 2010

This email is intended only for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email, which must not be copied, distributed or disclosed to any other person.
Any views or opinions presented are solely those of the author and do not necessarily represent those of Bournemouth University or its subsidiary companies. Nor can any contract be formed on behalf of the University or its subsidiary companies via email.
 _______________________________________________
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: Input Render Callback and Channels
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: CAPlayThrough questions
  • Next by Date: Re: Input Render Callback and Channels
  • Previous by thread: Re: Aggregate device question
  • Next by thread: Re: Input Render Callback and Channels
  • Index(es):
    • Date
    • Thread