Searched refs:track (Results 1 - 25 of 64) sorted by relevance

123

/haiku-fatelf/src/apps/mediaplayer/supplier/
H A DMediaFileTrackSupplier.cpp115 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...]
/haiku-fatelf/src/tests/kits/media/media_decoder/
H A Dmedia_decoder.cpp11 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-fatelf/src/kits/media/
H A DTrackReader.cpp45 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
97 // find the first audio track
98 BMediaTrack *track; local
101 track = fMediaFile->TrackAt(tr);
102 if (track == 0 || track
133 SetToTrack(BMediaTrack *track) argument
[all...]
H A DSoundFile.cpp52 BMediaTrack * track = fMediaTrack; local
54 fMediaFile->ReleaseTrack(track);
334 BMediaTrack * track = 0; local
337 track = media->TrackAt(trackNum);
338 status = track->EncodedFormat(&mf);
340 media->ReleaseTrack(track);
348 media->ReleaseTrack(track);
349 track = 0;
351 if (track == 0) {
388 fFrameCount = track
[all...]
H A DTrackReader.h35 void SetToTrack(BMediaTrack *track);
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/session/
H A DDisc.cpp73 /*! \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,
606 // track with the end of session.
607 track* track local
689 track* track = (struct track*)session->track_list.First(); local
895 track* track = new(std::nothrow) struct track(trackIndex, local
971 track* track = (struct track*)session->track_list.First(); local
[all...]
/haiku-fatelf/src/apps/mediaconverter/
H A DMediaFileInfo.cpp30 BMediaTrack* track;
43 track = file->TrackAt(i);
44 if (track == NULL)
47 ret = track->InitCheck();
51 ret = track->EncodedFormat(&format);
59 ret = track->DecodedFormat(&format);
65 ret = track->GetCodecInfo(&codecInfo);
70 videoDuration = track->Duration();
71 videoFrames = track->CountFrames();
86 ret = track
[all...]
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_midi.c255 printf("track overrun: %d > %d\n", mf->trackpos, mf->tracklen);
266 fluid_track_t* track; local
280 FLUID_LOG(FLUID_ERR, "An non-ascii track header found, currupt file");
291 track = new_fluid_track(num);
292 if (track == NULL) {
298 if (fluid_midi_file_read_event(mf, track) != FLUID_OK) {
303 fluid_player_add_track(player, track);
356 int fluid_midi_file_read_event(fluid_midi_file* mf, fluid_track_t* track) argument
484 fluid_track_set_name(track, (char*) metadata);
527 fluid_track_add_event(track, ev
932 fluid_track_t* track; local
949 delete_fluid_track(fluid_track_t* track) argument
964 fluid_track_set_name(fluid_track_t* track, char* name) argument
987 fluid_track_get_name(fluid_track_t* track) argument
995 fluid_track_get_duration(fluid_track_t* track) argument
1009 fluid_track_count_events(fluid_track_t* track, int* on, int* off) argument
1026 fluid_track_add_event(fluid_track_t* track, fluid_midi_event_t* evt) argument
1043 fluid_track_first_event(fluid_track_t* track) argument
1052 fluid_track_next_event(fluid_track_t* track) argument
1064 fluid_track_reset(fluid_track_t* track) argument
1075 fluid_track_send_events(fluid_track_t* track, fluid_synth_t* synth, fluid_player_t* player, unsigned int ticks) argument
1186 fluid_player_add_track(fluid_player_t* player, fluid_track_t* track) argument
[all...]
H A Dfluid_midi.h226 int delete_fluid_track(fluid_track_t* track);
227 int fluid_track_set_name(fluid_track_t* track, char* name);
228 char* fluid_track_get_name(fluid_track_t* track);
229 int fluid_track_add_event(fluid_track_t* track, fluid_midi_event_t* evt);
230 fluid_midi_event_t* fluid_track_first_event(fluid_track_t* track);
231 fluid_midi_event_t* fluid_track_next_event(fluid_track_t* track);
232 int fluid_track_get_duration(fluid_track_t* track);
233 int fluid_track_reset(fluid_track_t* track);
235 int fluid_track_send_events(fluid_track_t* track,
240 #define fluid_track_eot(track) ((trac
250 fluid_track_t *track[MAX_NUMBER_OF_TRACKS]; member in struct:_fluid_player_t
[all...]
/haiku-fatelf/src/bin/playsound/
H A Dplayfile.cpp66 BMediaTrack * track = playFile->TrackAt(ix); local
68 if ((track->DecodedFormat(&playFormat) == B_OK)
70 playTrack = track;
73 if (track)
74 playFile->ReleaseTrack(track);
/haiku-fatelf/src/bin/
H A Dplay.cpp24 play requested track
28 play(int id, scsi_play_track *track) argument
30 track->start_index = 1;
31 track->end_track = 99;
32 track->end_index = 1;
33 if (!ioctl(id, B_SCSI_PLAY_TRACK, track))
132 scsi_play_track track; local
158 printf(" 0 [n] - play from track n [1]\n");
165 printf(" 7 n s - save track n to file s\n");
174 track
[all...]
/haiku-fatelf/src/apps/cortex/InfoView/
H A DFileNodeInfoView.cpp104 BMediaTrack *track = file.TrackAt(i); local
108 if (track->EncodedFormat(&format) == B_OK)
118 if (track->GetCodecInfo(&codec) == B_OK)
129 bigtime_t duration = track->Duration();
138 if (track->GetQuality(&quality) == B_OK)
/haiku-fatelf/src/servers/media_addon/
H A DMediaFilePlayer.cpp73 BMediaTrack *track = fPlayFile->TrackAt(i); local
74 if (track == NULL)
78 if ((track->DecodedFormat(&fPlayFormat) == B_OK)
80 fPlayTrack = track;
83 fPlayFile->ReleaseTrack(track);
/haiku-fatelf/headers/private/media/experimental/
H A DMediaExtractorAddOn.h230 // 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-fatelf/src/add-ons/media/plugins/matroska/libmatroska/
H A DKaxCluster.cpp99 bool KaxCluster::AddFrameInternal(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup * PastBlock, const KaxBlockGroup * ForwBlock, LacingType lacing) argument
113 if (lacing == LACING_NONE || !track.LacingEnabled()) {
118 if (currentNewBlock == NULL || uint32(track.TrackNumber()) != uint32(currentNewBlock->TrackNumber()) || PastBlock != NULL || ForwBlock != NULL) {
126 if (currentNewBlock->AddFrame(track, timecode, buffer, *PastBlock, *ForwBlock, lacing)) {
134 if (currentNewBlock->AddFrame(track, timecode, buffer, *PastBlock, lacing)) {
143 if (currentNewBlock->AddFrame(track, timecode, buffer, lacing)) {
153 bool KaxCluster::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, LacingType lacing) argument
156 return AddFrameInternal(track, timecode, buffer, MyNewBlock, NULL, NULL, lacing);
159 bool KaxCluster::AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup & PastBlock, LacingType lacing) argument
162 return AddFrameInternal(track, timecod
165 AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup & PastBlock, const KaxBlockGroup & ForwBlock, LacingType lacing) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/cdda/
H A Dcdda.cpp20 uint8 track; member in struct:cdtext_pack_data
320 track number will be left in \a track, and the type of the data in \a id.
323 \a id, \a track, and \a state must stay constant between calls to this
328 cdtext_pack_data *&lastPack, uint8 &id, uint8 &track, uint8 &state,
338 // we had a terminated string and a missing track
339 track++;
342 if (pack->track - track == 1)
350 track
327 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
435 scsi_toc_track& track = toc->tracks[i]; local
497 read_table_of_contents(int fd, uint32 track, uint8 format, uint8 *buffer, size_t bufferSize) argument
564 uint8 track = 0; local
[all...]
/haiku-fatelf/src/add-ons/media/plugins/matroska/libmatroska/matroska/
H A DKaxCluster.h66 bool AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, LacingType lacing = LACING_AUTO);
72 bool AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup & PastBlock, LacingType lacing = LACING_AUTO);
79 bool AddFrame(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup & PastBlock, const KaxBlockGroup & ForwBlock, LacingType lacing = LACING_AUTO);
162 bool AddFrameInternal(const KaxTrackEntry & track, uint64 timecode, DataBuffer & buffer, KaxBlockGroup * & MyNewBlock, const KaxBlockGroup * PastBlock, const KaxBlockGroup * ForwBlock, LacingType lacing);
/haiku-fatelf/src/apps/cdplayer/
H A DCDAudioDevice.h16 // The SCSI table of contents consists of a 4-byte header followed by 100 track
18 // of the track descriptor, so we'll just ignore them. All we really want is the
19 // fLength of each track, which happen to be the last 3 bytes of the descriptor.
97 bool Play(const int16 &track);
126 bool GetTime(CDAudioTime &track, CDAudioTime &disc);
127 bool GetTimeForTrack(const int16 &index, CDAudioTime &track);
131 bool IsDataTrack(const int16 &track);
H A DPlayList.cpp125 PlayList::SetCurrentTrack(const int16 &track) argument
127 STRACE(("PlayList::SetCurrentTrack(%d)\n",track));
129 if (track < 0 || track > fTrackCount)
135 if (fTrackList[i] == track) {
174 STRACE(("PlayList::GetNextTrack()=-1 (track index out of range)\n"));
205 STRACE(("PlayList::GetPreviousTrack()=-1 (track index out of range)\n"));
288 printf("\tSlot %d: track %d\n", i, fTrackList[i]);
H A DCDAudioDevice.cpp162 //! This plays only one track - the track specified
164 CDAudioDevice::Play(const int16 &track) argument
174 playtrack.start_track = track;
176 playtrack.end_track = track;
181 printf("Couldn't play track: %s\n", strerror(errno));
194 printf("Couldn't pause track: %s\n", strerror(errno));
216 printf("Couldn't resume track: %s\n", strerror(errno));
380 //! Get the 0-based index of the current track
500 CDAudioDevice::GetTime(CDAudioTime &track, CDAudioTim argument
530 GetTimeForTrack(const int16 &index, CDAudioTime &track) argument
614 IsDataTrack(const int16 &track) argument
[all...]
H A DPlayList.h25 void SetCurrentTrack(const int16 &track);
/haiku-fatelf/headers/os/midi/
H A DMidiSynthFile.h46 void MuteTrack(int16 track, bool do_mute);
49 void SoloTrack(int16 track, bool do_solo);
/haiku-fatelf/src/apps/3dmov/
H A DVideo.cpp35 BMediaTrack *track = fMediaFile->TrackAt(i); local
36 if (track == NULL)
39 printf("Media file claims to have %ld tracks, cannot find track %ld\n", num_tracks, i);
45 fStatus = track->EncodedFormat(&mf);
54 fVideoTrack = track;
66 fMediaFile->ReleaseTrack(track);
100 // Loop asking the track for a format we can deal with
/haiku-fatelf/src/add-ons/media/plugins/matroska/libmatroska/matroska/c/
H A Dlibmatroska.h106 void MATROSKA_EXPORT matroska_get_track_info(matroska_id id, matroska_track track, track_info * infos);
/haiku-fatelf/src/apps/haiku3d/texture/
H A DVideoFileTexture.cpp62 BMediaTrack* track = fMediaFile->TrackAt(i); local
63 if (track == NULL) {
70 err = track->EncodedFormat(&format);
77 fVideoTrack = track;

Completed in 131 milliseconds

123