MusicTimeStamp
MusicTimeStamp
- Subject: MusicTimeStamp
- From: Craig Bakalian <email@hidden>
- Date: Wed, 22 Oct 2003 16:41:21 -0400
Hi,
What is the proper way to set the MusicTimeStamp when using the
MusicTrackNewMIDINoteEvent(MusicTrack inTrack, MusicTimeStamp
inTimeStamp, const MIDINoteMessage *inMessage); method? If I am in
Cocoa can I use the NSTimer? Or do I need to use something else? I
see this in the headers, yet CoreAudio/HostTime.h, I need help.
@typedef MIDITimeStamp
@discussion A host clock time representing the time of an event, as
returned by AudioGetCurrentHostTime() (or UpTime()).
Since MIDI applications will tend to do a fair amount of
math with the times of events, it's more convenient to use a
UInt64 than an AbsoluteTime.
See CoreAudio/HostTime.h.
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.