| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
--- Neil Clayton
On 20 Jun 2006, at 22:26, Jeff Moore wrote:
On Jun 20, 2006, at 2:09 PM, Neil Clayton wrote:
Actually, you might be leading me somewhere useful anyway. I'm wanting to do this so that people can use whatever device they have. Obviously, people may well be using USB microphones and wot not (it's actually for a screen capturing app, with voiceover support).
If it's not going to work for USB devices, then .... I'll have to use some other approach anyway.
Indeed.
Would this other approach happen to be something like the ComplexPlayThru example? Where an Input AUHAL is used to capture data to a ring buffer, and that data is pumped into an AUGraph?
That is one way to do it. In it's plainest, simplest form, it's even easy to code up. However, you have the issue of synchronization to deal with. With two clocks in the picture, you have to compensate for the differences in how fast they are running relative to each other or risk over/underflowing your ring buffer if you run long enough.
Or something completely different?
Aggregate devices are the more complete solution to the problem as you don't have to worry about the synchronization as the HAL will do that work for you. To use aggregate devices, you either have to rely on the user constructing one for you to use using AMS or you can build them programatically.
For building them programatically, there was a fairly thorough discussion of how to do it on this list back a few months. You should be able to find the thread in the list archives.
_______________________________________________ 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
| References: | |
| >Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Jeff Moore <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Doug Wyatt <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: William Stewart <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Jeff Moore <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Jeff Moore <email@hidden>) | |
| >Re: Monitoring input level (From: Neil Clayton <email@hidden>) | |
| >Re: Monitoring input level (From: Jeff Moore <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.