| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Thanks. I had thought of that approach, but correct me if I am wrong, won't that run through the whole process twice and take twice as long? It seemed to me that the most efficient approach is to create 3 AudioBufferLists, that share 2 AudioBuffers. I list that is deinterleaved with 2 channels and 2 lists that are each mono. 1 for the left and 1 for the right. And to get the 2 AudioBuffers in the mono list to simply point to each of the buffers in the 2 channel list. Then I can read into the Stereo list and write from each of the mono lists. As long as I set the clientformat of the reader to be canonical, deinterleaved. I think I am correct in all of this - but I simply can not figure out the way to set up the AudiBufferLists correctly. That is the only part that eludes me, and I am sure it is quite simple. I have been able to find a number of examples on setting up the buffer lists - but none that do this, They seem to do this in the afInterleave example, but in a way that is fairly convoluted and I have not been able to duplicate it. Any advice would be appreciated. David Paterson On Mar 19, 2007, at 6:27 PM, William Stewart wrote: You can use the ExtendedAudioFile API (see the ConvertFile code in /Developer/Examples/CoreAudio/SimpleSDK/) |
_______________________________________________ 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: | |
| >Deinterleave using ExtendedAudioFile (From: David Paterson <email@hidden>) | |
| >Re: Deinterleave using ExtendedAudioFile (From: William Stewart <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.