/haiku/src/apps/mediaplayer/supplier/ |
H A D | MediaFileTrackSupplier.cpp | 115 BMediaTrack* track = (BMediaTrack*)fAudioTracks.ItemAt(index); local 116 if (track == NULL) 119 return track->GetMetaData(metaData); 126 BMediaTrack* track = (BMediaTrack*)fVideoTracks.ItemAt(index); local 127 if (track == NULL) 130 return track->GetMetaData(metaData); 137 BMediaTrack* track = (BMediaTrack*)fAudioTracks.ItemAt(index); local 138 if (track == NULL) 141 return new(std::nothrow) MediaTrackAudioSupplier(track, index); 156 BMediaTrack* track local 197 BMediaTrack* track = mediaFile->TrackAt(i); local [all...] |
H A D | MediaTrackVideoSupplier.h | 19 MediaTrackVideoSupplier(BMediaTrack* track,
|
H A D | MediaTrackAudioSupplier.h | 22 MediaTrackAudioSupplier(BMediaTrack* track,
|
/haiku/src/tests/kits/media/media_decoder/ |
H A D | media_decoder.cpp | 11 BMediaTrack * track; member in class:FileDecoder 17 track = _track; 23 status_t result = track->ReadChunk((char**)chunkData,(int32*)chunkLen,mh); 49 // find an audio track 50 BMediaTrack * track = 0; local 52 track = mf->TrackAt(i); 53 track->EncodedFormat(&format); 57 track = 0; 59 if (track == 0) { 64 FileDecoder * fd = new FileDecoder(track, [all...] |
/haiku/src/kits/media/ |
H A D | TrackReader.cpp | 45 BTrackReader::BTrackReader(BMediaTrack *track, media_raw_audio_format const &format) : argument 55 if (track == NULL) 57 if (track->InitCheck() != B_OK) 60 SetToTrack(track); 62 // if the track was not set abort now 98 // find the first audio track 99 BMediaTrack *track; local 102 track = fMediaFile->TrackAt(tr); 103 if (track == 0 || track 135 SetToTrack(BMediaTrack *track) argument [all...] |
H A D | SoundFile.cpp | 55 BMediaTrack * track = fMediaTrack; local 57 fMediaFile->ReleaseTrack(track); 363 BMediaTrack * track = 0; local 366 track = media->TrackAt(trackNum); 367 status = track->DecodedFormat(&mf); 369 media->ReleaseTrack(track); 377 media->ReleaseTrack(track); 378 track = 0; 380 if (track == 0) { 417 fFrameCount = track [all...] |
H A D | TrackReader.h | 35 void SetToTrack(BMediaTrack *track);
|
H A D | MediaFile.cpp | 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) argument 246 if (!fTrackList || !track) 249 if (fTrackList[i] == track) { 250 TRACE("BMediaFile::ReleaseTrack, releasing track %p with index " 251 "%" B_PRId32 "\n", track, 302 BMediaTrack* track = new(std::nothrow) BMediaTrack(fWriter, streamIndex, local [all...] |
/haiku/src/apps/mediaconverter/ |
H A D | MediaFileInfo.cpp | 31 BMediaTrack* track; 44 track = file->TrackAt(i); 45 if (track == NULL) 48 ret = track->InitCheck(); 52 ret = track->EncodedFormat(&format); 63 ret = track->DecodedFormat(&format); 69 ret = track->GetCodecInfo(&codecInfo); 74 videoDuration = track->Duration(); 75 videoFrames = track->CountFrames(); 93 ret = track [all...] |
/haiku/src/tests/kits/media/playsound/ |
H A D | playfile.cpp | 82 BMediaTrack * track = playFile->TrackAt(ix); local 84 if ((track->DecodedFormat(&playFormat) == B_OK) 86 playTrack = track; 89 if (track) 90 playFile->ReleaseTrack(track);
|
/haiku/src/bin/media_client/ |
H A D | MediaPlay.cpp | 75 BMediaTrack* track = playFile->TrackAt(i); local 76 if (track != NULL) { 78 if ((track->DecodedFormat(&playFormat) == B_OK) 80 playTrack = track; 83 playFile->ReleaseTrack(track);
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Disc.cpp | 73 /*! \brief Keeps track of track information. 75 struct track : public list_item { struct in inherits:list_item 77 track(uint32 index, off_t startLBA, uint8 control, uint8 adr, function in struct:track 78 track* next = NULL) 95 /*! \brief Keeps track of session information. 212 TRACE((" control = %d (%s track, copy %s)\n", entries[i].control, 611 // track with the end of session. 612 track* track local 696 track* track = (struct track*)session->track_list.First(); local 902 track* track = new(std::nothrow) struct track(trackIndex, local 978 track* track = (struct track*)session->track_list.First(); local [all...] |
/haiku/src/servers/media_addon/ |
H A D | MediaFilePlayer.cpp | 78 BMediaTrack* track = fPlayFile->TrackAt(i); local 79 if (track == NULL) 83 if ((track->DecodedFormat(&fPlayFormat) == B_OK) 85 fPlayTrack = track; 88 fPlayFile->ReleaseTrack(track);
|
/haiku/src/apps/cortex/InfoView/ |
H A D | FileNodeInfoView.cpp | 113 BMediaTrack *track = file.TrackAt(i); local 117 if (track->EncodedFormat(&format) == B_OK) 127 if (track->GetCodecInfo(&codec) == B_OK) 140 bigtime_t duration = track->Duration(); 149 if (track->GetQuality(&quality) == B_OK)
|
/haiku/docs/develop/media/ |
H A D | MediaExtractorAddOn.h | 230 // The extractor will seek first on the seek track, just like 238 // This may be more efficient than seeking the seek track through 256 // The extractor will seek first on the seek track, just like 264 // This may be more efficient than seeking the seek track through 283 // The extractor will seek first on the seek track. It goes to 295 // This may be more efficient than seeking the seek track through 312 // The extractor will seek first on the seek track. It goes to a 330 // This may be more efficient than seeking the seek track through 377 // SeekTrackToFrame(BTrack * track, int64 ioFrame, int32 flags = 0) { 382 // Also, any track extracte 431 Web(BTrack * track) argument 432 GetParameterView(BTrack * track) argument [all...] |
/haiku/src/tests/kits/media/ |
H A D | VideoDecoder.cpp | 23 VideoView(BMediaTrack* track, int32 width, int32 height); 33 VideoView::VideoView(BMediaTrack* track, int32 width, int32 height) argument 36 , fMediaTrack(track) 97 printf("Found video track\n%ld x %ld ; %lld frames, %f seconds\n", 112 delete fMediaFile; // Also deletes the track
|
/haiku/src/bin/cddb_lookup/ |
H A D | cddb_lookup.cpp | 280 TrackData* track = readResponse.tracks.ItemAt(index); local 284 name.SetToFormat("%02d %s.wav", trackNum, track->title.String()); 298 node.WriteAttrString("Media:Title", &track->title); 307 if (track->artist == "") 310 node.WriteAttrString("Audio:Artist", &track->artist); 328 TrackData* track = readResponse.tracks.ItemAt(i); local 329 if (track->artist.IsEmpty()) { 330 printf(" %2" B_PRIu32 ". %s\n", track->trackNumber + 1, 331 track->title.String()); 333 printf(" %2" B_PRIu32 ". %s - %s\n", track [all...] |
H A D | cddb_server.cpp | 68 // Add track offsets in frames. 78 // Add total disc time in seconds. Last track is lead-out. 249 uint32 track = strtoul(index.String(), &firstInvalid, 10); local 250 if (errno != 0 || track > 99) { 257 printf("Invalid track: %s\n", index.String()); 265 // we have track specific artist information. 274 TrackData* trackData = _Track(readResponse, track); 400 CDDBServer::_Track(ReadResponseData& response, uint32 track) const 404 if (trackData->trackNumber == track) 409 trackData->trackNumber = track; [all...] |
H A D | cddb_server.h | 20 // CD track specific data. 81 uint32 track) const;
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | cdda.cpp | 22 uint8 track; member in struct:cdtext_pack_data 348 track number will be left in \a track, and the type of the data in \a id. 351 \a id, \a track, and \a state must stay constant between calls to this 356 cdtext_pack_data *&lastPack, uint8 &id, uint8 &track, uint8 &state, 366 // we had a terminated string and a missing track 367 track++; 370 if (pack->track - track == 1) 378 track 355 parse_pack_data(cdtext_pack_data *&pack, uint32 &packLeft, cdtext_pack_data *&lastPack, uint8 &id, uint8 &track, uint8 &state, char *buffer, size_t &length) argument 463 scsi_toc_track& track = toc->tracks[i]; local 532 read_table_of_contents(int fd, uint32 track, uint8 format, uint8 *buffer, size_t bufferSize) argument 599 uint8 track = 0; local [all...] |
/haiku/headers/os/midi/ |
H A D | MidiSynthFile.h | 45 void MuteTrack(int16 track, bool do_mute); 48 void SoloTrack(int16 track, bool do_solo);
|
/haiku/src/apps/haiku3d/texture/ |
H A D | VideoFileTexture.cpp | 62 BMediaTrack* track = fMediaFile->TrackAt(i); local 63 if (track == NULL) { 70 err = track->EncodedFormat(&format); 77 fVideoTrack = track;
|
/haiku/src/kits/midi/ |
H A D | MidiSynthFile.cpp | 186 BMidiSynthFile::MuteTrack(int16 track, bool do_mute) argument 200 BMidiSynthFile::SoloTrack(int16 track, bool do_solo) argument
|
/haiku/src/apps/soundrecorder/ |
H A D | ScopeView.h | 28 void RenderTrack(BMediaTrack *track, const media_format &format);
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioProducer.cpp | 60 static BMediaTrack* track = NULL; local 82 track = file->CreateTrack(&format, &info); 83 if (track == NULL) 84 printf("failed to create track\n"); 88 *_track = track; 89 return track != NULL ? file : NULL; 197 BMediaTrack* track; local 198 if (BMediaFile* file = init_media_file(fPreferredFormat, &track)) { 200 track->Flush(); 201 file->ReleaseTrack(track); 859 BMediaTrack* track; local [all...] |