• 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
Multichannel audio and sharing data between channels of an audio unit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multichannel audio and sharing data between channels of an audio unit?


  • Subject: Multichannel audio and sharing data between channels of an audio unit?
  • From: Oli Donald <email@hidden>
  • Date: Mon, 9 May 2005 20:47:48 +0100

Hi,

I have another question that should be easy to answer - how exactly does multichannel audio work with AudioUnits? Searching the docs didn't turn up much info, but a Google search revealed that the 'inNumChannels' parameter of AUKernel::Process() is always '1'. In this case, how exactly is multichannel sound handled by AU's?

Are seperate instances of your AU created for each channel? If this is so, how can I synchronize data between two or more channels in my AudioUnit? At the moment, if my AU runs in stereo, the two channels get out of sync with certain parameters. For example, when I click the 'clear buffer' button in my GUI, I memset() my AU's buffer to 0's, but only one channel becomes silent.

I'm a good C and ObjC programmer, but my C++ knowledge is virtually non-existant, I think this might be the source of my problems ;) Any help appreciated though.

Thanks,
Oli
_______________________________________________
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: Multichannel audio and sharing data between channels of an audio unit?
      • From: Brian Willoughby <email@hidden>
    • Re: Multichannel audio and sharing data between channels of an audio unit?
      • From: William Stewart <email@hidden>
    • Re: Multichannel audio and sharing data between channels of an audio unit?
      • From: Marc Poirier <email@hidden>
  • Prev by Date: RenderCallback only called twice
  • Next by Date: Re: How to cut silence away from the beginning of output signal
  • Previous by thread: RenderCallback only called twice
  • Next by thread: Re: Multichannel audio and sharing data between channels of an audio unit?
  • Index(es):
    • Date
    • Thread