Inter-app synchronization
Inter-app synchronization
- Subject: Inter-app synchronization
- From: Brian Willoughby <email@hidden>
- Date: Fri, 2 Mar 2007 16:41:19 -0800
Hi folks,
I have a question about a feature that I am not working on at the
moment, so hopefully I can phrase it correctly despite not being dug
in with all the technical details.
How would I code a program such that it could play audio in sync with
another application using CoreAudio?
Would it be sufficient to use the high-resolution CoreAudio time
reference and select wall-clock as the source? In other words, this
would make the computer sync to its own internal clock. Would both
applications play sample-accurate sync in this manner?
What if I want to use one of the many SMPTE devices on my system for
sync? I haven't examined Audio MIDI Setup and the MIDI routing, but
I assume that I could either duplicate the SMPTE MIDI stream and send
it to multiple apps, or at least find some way to connect a SMPTE
input to the computer so that all applications can select it as a
time reference.
Sorry for the somewhat vague questions, but I don't want to wait
until I'm working on this to ask. Basically, what are the
recommendations for coding in CoreAudio with the goal of system-wide
synchronization between applications. I'm specifically leaving out
the case of one app being master for other apps, and rather focusing
on the computer being the master or an external SMPTE reader being
the master.
Thanks for any information,
Brian Willoughby
Sound Consulting
_______________________________________________
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