Lines Matching defs:track
219 // ReleaseTrack() when you're done with a track.
229 TRACE("BMediaFile::TrackAt, creating new track for index %"
232 TRACE("BMediaFile::TrackAt, new track is %p\n", fTrackList[index]);
239 // the memory usage of your application. The specific 'track' object
241 // TrackAt() with the same track index.
243 BMediaFile::ReleaseTrack(BMediaTrack* track)
246 if (!fTrackList || !track)
249 if (fTrackList[i] == track) {
250 TRACE("BMediaFile::ReleaseTrack, releasing track %p with index "
251 "%" B_PRId32 "\n", track, i);
252 delete track;
257 fprintf(stderr, "BMediaFile::ReleaseTrack track %p not found\n", track);
270 TRACE("BMediaFile::ReleaseAllTracks, releasing track %p with "
280 // Create and add a track to the media file
289 // track won't have an Encoder and you can only use WriteChunk() with
292 // Make room for the new track.
302 BMediaTrack* track = new(std::nothrow) BMediaTrack(fWriter, streamIndex,
305 fTrackList[streamIndex] = track;
307 return track;
311 // Create and add a raw track to the media file (it has no encoder)
372 // After you have written all the data to the track objects, call this