Re: Callbacks with MusicPlayer
Re: Callbacks with MusicPlayer
- Subject: Re: Callbacks with MusicPlayer
- From: Bill Stewart <email@hidden>
- Date: Thu, 13 Mar 2003 12:26:40 -0800
The player doesn't have a concept of "finished playing" - you can
determine the length of the sequence and monitor this yourself.. With
some new API instantiate you could add a user event that would get then
called when the player gets to that event... but you can't have that
yet - sorry.
Bill
On Wednesday, March 12, 2003, at 01:28 AM, Michael Norris wrote:
I was digging through the MusicPlayer header files earlier today to
see if there existed a way of installing a callback when a
MusicSequence finishes playing. I then noticed some of the discussion
on coreaudio-api last week about future plans with callbacks and
MusicPlayer, Basically, I want to dispose a sequence as soon as it's
finished playing. Is there currently any way of doing that without
constantly checking to see? (I suppose I could install a timer, but
that's a bit yuck.) Or am I going to have to wait until the next
revision of CA?
-mike
_______________________________________________
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.