Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stereo Processing



ok thanks, well couldnt i create two classes like myAUEffectBase and myAUKernelBase, and have them inherit AUEffectBase and AUKernalBase respectively and just overide ProcessBufferList() to use myAUKernelBase, which will have an additional function called ProcessStereo() or would i need to overide other functions as well? also, where do i set the audio unit to only recieve mono or stereo, and set the output to only stereo?

thanks,
paul

William Stewart <email@hidden> wrote:
essentially yes (that's a short version - there is a long version but it would require refactoring much of the code of AUEffectBase and its kernel objects that is probably too lengthy to go into here I think).�

Bill

On 12/03/2007, at 1:52 PM, paul Fultz wrote:

I would like to set up my audio unit to process stereo, is there someway i can set it up so that it will call a funtion like this in my class to do the processing:
void ��� ��� ��� ��� Process(��� const Float32 * ��� inSourceLeft, // left input
��� �� �� �� �� �� �� �� �� �� �� �� �� const Float32 * ��� inSourceRight, //right input
��� ��� ��� ��� ��� ��� ��� ��� ��� ��� ��� Float32 * ��� ��� ��� inDestLeft, //left output
��� ��� ��� ��� ��� ��� ��� ��� ��� ��� ��� Float32 * ��� ��� ��� inDestRight, //right output
��� ��� ��� ��� ��� ��� ��� ��� ��� ��� ��� UInt32 ��� ��� ��� ��� inFramesToProcess,
��� ��� ��� ��� ��� ��� ��� ��� ��� ��� ��� bool &��� ��� ��� ��� ioSilence)

i am inherenting AUKernelBase, and AUEffectsBase, can i just override ProcessBufferList() in my class? and if so how would i write the code to call this function that is located in my kernel(e.g. class myAudioUnitKernel : public AUKernelBase)?


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
�_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list� � � (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

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
__________________________________________________________________________



8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

References: 
 >Re: Stereo Processing (From: William Stewart <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.