Re: Syncing AudioReflectorDriver to another audio device
Re: Syncing AudioReflectorDriver to another audio device
- Subject: Re: Syncing AudioReflectorDriver to another audio device
- From: Chuck Carlson <email@hidden>
- Date: Tue, 3 Aug 2010 12:43:49 -0700
Thank Jeff, that's exactly what I want to do, but was hoping there was a simple solution.
Since I can modify the devices driver, the ARD can talk directly to the device's driver. If they both report the same timestamp, that would effectively sync them.
On Tue, Aug 3, 2010 at 11:16 AM, Jeff Moore
<email@hidden> wrote:
By synchronize, I take it to mean that you want the Reflector to drive itself from the USB device's clock? Doing that is a fairly involved process.
I'm sure I'll miss some details but to start with, you'd need to write code in the Reflector driver that could find the USB audio device in the kernel and latch on to it's clock somehow, perhaps by looking at it's status block or something like that. Once you can do that, you would then need to replace the work loop timer that the Reflector currently uses for timing with the timing information from the USB Audio device.
--
Jeff Moore
Core Audio
Apple
On Aug 3, 2010, at 10:12 AM, Chuck Carlson wrote:
> What's a good way to sync AudioReflectorDriver to a usb audio device?
>
> I've looked into kAudioDevicePropertyClockDomain but that seems to show what devices that are synced in hardware.
>
> What property is set to add items to Audio Midi Setup's Clock Source selector?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden