• 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
Multi Output AU
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi Output AU


  • Subject: Multi Output AU
  • From: email@hidden
  • Date: Tue, 28 Aug 2007 14:40:49 +0200 (CEST)

I've been searching the archives for a while and haven't found a solution
to this problem.

My AU (Music Device) is to support multiple outputs and configurations,
either 2 outputs (standard stereo out) or 2+11 outputs (one stereo out,
and 11 mono outputs).

Current I do:

Call MusicDeviceBase with numOutputs = 1 (this refers to the number of
output buses right? I only need one).

In Constructor call ChangeStreamFormat() with mChannelsPerFrame = 13 after
CreateElements() (This can't be right, since I want to support either 2 or
13 outputs. Also if I do this before before CreateElements() I get crashes
and CreateElements() does the buffer allocation as far as I can tell).

In SupportedNumberOfChannels() I report
{0,2} and {0,13}

I respond to getProperty() kAudioUnitProperty_SupportedNumChannels

So far the results have been either auval refusing to validate the AU with
a "can't perform render tests" due to channel reporting errors, or I can
get the AU to validate with 13 outputs, but the buffers handed to me are
not properly allocated (resulting in crashes).

What do I need to implement to get this working?

Any help would be greatly appreciated..!

Best regards,

Mike Janney
AudioRealism
www.audiorealism.se



 _______________________________________________
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: Multi Output AU
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Writing Cocoa UIs with C++?
  • Next by Date: Re: Writing Cocoa UIs with C++?
  • Previous by thread: Fwd: Writing Cocoa UIs with C++?
  • Next by thread: Re: Multi Output AU
  • Index(es):
    • Date
    • Thread