• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: disposing a MusicTrack that hasn't been added to a MusicSequence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >disposing a MusicTrack that hasn't been added to a MusicSequence (From: "Brian Sheehan" <email@hidden>)

  • Prev by Date: Re: Re: AudioOutputUnit and QT audio extraction - back to basics
  • Next by Date: Re: AudioOutputUnit and QT audio extraction - back to basics
  • Previous by thread: disposing a MusicTrack that hasn't been added to a MusicSequence
  • Next by thread: Thread issue - sure can use some help
  • Index(es):
    • Date
    • Thread