Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Doug Wyatt <email@hidden>
- Date: Fri, 10 Mar 2006 14:33:09 -0800
On Mar 10, 2006, at 3:10, Jan T wrote:
Hi,
i'm having problems receiving smpte time from a motu 828 mkII using
the code below. I don't get an error but both mSMPTETime.mCounter
and mSMPTETime.mSeconds are 0.
AudioTimeStamp smptTime;
smptTime.mFlags = kAudioTimeStampSMPTETimeValid;
OSStatus err = AudioDeviceGetCurrentTime(mInputDevice, &smptTime);
//mInputDevice is a running AudioDeviceID
If you want to read MIDI Time Code in a relatively high-level way,
have a look at AudioToolbox/CoreAudioClock.h.
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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