Mailing Lists: Apple Mailing Lists

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

Capturing audio with playthrough question (ComplexPlayThrough sample)



Hi list,
these are my first steps in Core Audio and I would appreciate some advice.


What I would like to do is capture audio from the built in "Line in" device (as buffers) and also play the audio back while capturing on the default output device.

Now, I've read TN2091 (http://developer.apple.com/technotes/tn2002/ tn2091.html) and my understanding is that since on the newer Intel Macs there are separate devices for input and output, there's no way of doing a "simple play through", right?

Now, I've downloaded the ComplexPlayThrough sample and I am wondering if I need the Varispeed Unit fo what I'm trying to accomplish. Can't I just setup the input and output device with the same stream description and just pass on the incoming buffers to the output device? Is there any good reason to not do it this way?

Also, I've setup notifications for device steam changes, and I see that other apps can change my device's stream description while I am capturing. Is there a way to avoid that, can I take exclusive ownership of the device(s)?

Thanks
Mark
_______________________________________________
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.