Speeding up MusicPlayerStart()?
Speeding up MusicPlayerStart()?
- Subject: Speeding up MusicPlayerStart()?
- From: Edwin Vane <email@hidden>
- Date: Sun, 9 Oct 2005 12:46:51 -0400
- Mail-followup-to: CoreAudio/Midi List <email@hidden>
Hi,
I've been looking at the MusicPlayer API. I find that calling
MusicPlayerStart() can take about 1s to complete (measured using a pair
of calls to the host time retrieval functions). I was hoping to use
MusicPlayer inside QuickTime (specifically inside a derived media
handler to play midi data). However, using Start and Stop for play and
stop in quicktime doesn't seem like a good idea if it incurs a second
delay (which may cause tracks to become unsynchronized). Is there a way
to speed up MusicPlayerStart() or some other method to implement start
and stop of music without incurring the delay? Or should I look into
some sort of workaround (setting a NULL sequence perhaps, although I
haven't tried that).
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
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