Mailing Lists: Apple Mailing Lists

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

(no subject)




Hi,

I'm working on a plug-in which is stereo->stereo only, and we have a problem in Logic.

When the plug-in is placed on a stereo aux, and a track (with pan set in the middle) is sending to this aux, the plug-in receives 2 identical pointers to place the output into.

That is, in ProcessBufferLists I do this:

AudioBuffer* destBuffer = outBuffer.mBuffers;

and then later this:

destBuffer++;


Both before and after the line with ++, (Float32*)destBuffer->mData yields the same result. So, naturally when my algo writes into its "stereo" buffer, the result is actually only 1 of the channels.

Please note that outBuffer.mNumberBuffers is 2.


Does anyone has any idea why this is happening? For what it's worth, the input buffers are identical too, but that's probably because they're coming from an input channel with pan set in the middle.

It's probably worth noting that when pan is not in the middle, everything seems to work.


Thanks,

Michael Olsen
PhonoXone


See all the ways you can stay connected to friends and family
 _______________________________________________
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



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.