Re: disposing a MusicTrack that hasn't been added to a MusicSequence
Re: disposing a MusicTrack that hasn't been added to a MusicSequence
- Subject: Re: disposing a MusicTrack that hasn't been added to a MusicSequence
- From: William Stewart <email@hidden>
- Date: Thu, 6 Apr 2006 16:25:34 -0700
No, the track is still a track that is a part of the sequence the
source track was.
On 06/04/2006, at 1:56 AM, Brian Sheehan wrote:
Hi,
I'm creating a music track with:
NewMusicTrackFrom( MusicTrack inSourceTrack,
MusicTimeStamp inSourceStartTime,
MusicTimeStamp inSourceEndTime,
MusicTrack *outNewTrack)
The resulting outNewTrack is never added to a sequence - I'm just
using an iterator over it to control a while loop.
How can I dispose of outNewTrack when I'm finished with it? Is it
safe to do:
MusicSequenceDisposeTrack(NULL, outNewTrack)
This should be returning a paramErr I think.
Bill
thanks,
Brian
_______________________________________________
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
--
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
________________________________________________________________________
__
_______________________________________________
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