• 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 set up to process one channel interleaved sample?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to set up to process one channel interleaved sample?


  • Subject: Re: how to set up to process one channel interleaved sample?
  • From: tahome izwah <email@hidden>
  • Date: Mon, 20 Apr 2009 14:07:01 +0200

Override:

OSStatus ProcessBufferLists	(AudioUnitRenderActionFlags&	iFlags,
                                              const 	AudioBufferList&
	inBufferList,
                                              AudioBufferList&	outBufferList,
                                              UInt32			iFrames)

This gives you access to the buffers with all channel data.

HTH,
--th


2009/4/20 Tony Sheng <email@hidden>:
> Hi, Everyone:
>
> I want to take any stereo wav files and add each samples from left
> channel and right channel up. I am not sure how should I implement
> this.
>
> from the sample code of filter demo, it said the 'inNumChannels'
> parameter is always 1. This would cause the two buffers each
> containing left and right channels and it would process the left and
> right channel separately. However I want to access both left and right
> channel samples in one frame loop, should I change it into 2, if so,
> what function should I called to apply the change?
>
> Many thanks
> Tony Sheng
 _______________________________________________
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 set up to process one channel interleaved sample? (From: Tony Sheng <email@hidden>)

  • Prev by Date: how to set up to process one channel interleaved sample?
  • Next by Date: Creating Aggregate Devices programmatically
  • Previous by thread: how to set up to process one channel interleaved sample?
  • Next by thread: Creating Aggregate Devices programmatically
  • Index(es):
    • Date
    • Thread