Re: MusicPlayerIsPlaying() : is it done yet?
Re: MusicPlayerIsPlaying() : is it done yet?
- Subject: Re: MusicPlayerIsPlaying() : is it done yet?
- From: Christopher Corbell <email@hidden>
- Date: Thu, 24 Jul 2003 12:12:55 -0700
On Thursday, July 24, 2003, at 10:37 AM, Roy Lovejoy wrote:
They work wonderfully-
I spoke too soon.. Apparently, MusicPlayerIsPlaying seems to want to
keep the party going by
_NEVER_ returning false..
Boolean stillPlaying = false;
err = MusicPlayerIsPlaying(player, &stillPlaying);
stillPlaying is true, even long after the end of the midi sequence is
over.
is there anyway of determining when the sequence is over, after
issuing a MusicPlayerStart() ?
_______________________________________________
I just keep track of the sequence duration (by getting the timestamp of
the last event)
and use MusicPlayerGetTime() to see when time's up.
I'm not sure but I think MusicPlayerIsPlaying() will return false when
the
sequence isn't playing. :-)
- Christopher
_______________________________________________
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.