• 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: Inconsistency with number of inputs and outputs returned by and AU Plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inconsistency with number of inputs and outputs returned by and AU Plugin


  • Subject: Re: Inconsistency with number of inputs and outputs returned by and AU Plugin
  • From: William Stewart <email@hidden>
  • Date: Mon, 26 Feb 2007 17:39:18 -0800

AUEffectBase uses a kernel to process N-N channels (it is intended to be used just for N-N effects). There are a number of issues that have to be dealt with for 1-2 channel processing that AUEffectBase does not deal with - in place processing, bypass, etc..

For N-M channel effects we typically subclass AUBase and overide the render call (something similar to what AUEffectBase does). Others on this list have chosen to overide the implementation and still use AUEffectBase - if you do a search in the list archive (or have a look on the coreaudio wiki) you should come up with some descriptions for what needs to be done

Bill

On 26/02/2007, at 4:42 PM, jorge castellanos wrote:


I'm trying to write an AU that supports the following configurations:

"{{ 1, 1 }, { 1, 2 }, { 2, 2 }}" // Mono to mono, Mono to stereo and Stereo to stereo.

The hosts do show the previous mentioned options, but the AU isn't reporting the chosen configuration.

For example, if I "Instantiate" the Mono to Stereo version, the NumberChannels() of the Output and Input elements return "2" (and not 1 as input). Also, the callback "ProcessBufferLists(...)" is passing both input and output bufferLists with One buffer (and the buffer with a single channel).

Shouldn't I get One buffer for input and two for Output?
Shouldn't I get the correct number of Inputs and Outputs requested by the host when I ask at "Initialize()"?


I would really appreciate any help.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Inconsistency with number of inputs and outputs returned by and AU Plugin (From: "jorge castellanos" <email@hidden>)

  • Prev by Date: Inconsistency with number of inputs and outputs returned by and AU Plugin
  • Next by Date: Channel Mapping and Audio Input
  • Previous by thread: Inconsistency with number of inputs and outputs returned by and AU Plugin
  • Next by thread: Channel Mapping and Audio Input
  • Index(es):
    • Date
    • Thread