Searched refs:trackType (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp783 media_track_type trackType, counterpartType; local
788 trackType = MEDIA_TRACK_TYPE_AUDIO;
793 trackType = MEDIA_TRACK_TYPE_VIDEO;
807 if (trackType == MEDIA_TRACK_TYPE_AUDIO) {
812 readBuffer(trackType, timeUs, &actualTimeUs, formatChange);
1093 int32_t trackType; local
1095 trackType = MEDIA_TRACK_TYPE_VIDEO;
1097 trackType = MEDIA_TRACK_TYPE_AUDIO;
1099 trackType = MEDIA_TRACK_TYPE_TIMEDTEXT;
1101 trackType
1358 mediaBufferToABuffer( MediaBuffer* mb, media_track_type trackType, int64_t , int64_t *actualTimeUs) argument
1443 postReadBuffer(media_track_type trackType) argument
1457 media_track_type trackType = (media_track_type)tmpType; local
1467 readBuffer( media_track_type trackType, int64_t seekTimeUs, int64_t *actualTimeUs, bool formatChange) argument
1563 queueDiscontinuityIfNeeded( bool seeking, bool formatChange, media_track_type trackType, Track *track) argument
[all...]
H A DGenericSource.h196 media_track_type trackType,
200 void postReadBuffer(media_track_type trackType);
203 media_track_type trackType,
207 bool seeking, bool formatChange, media_track_type trackType, Track *track);
H A DNuPlayer.cpp424 int32_t trackType; local
425 CHECK(format->findInt32("type", &trackType));
433 if (trackType == MEDIA_TRACK_TYPE_AUDIO) {
435 } else if (trackType == MEDIA_TRACK_TYPE_VIDEO) {
446 reply->writeInt32(trackType);
450 if (trackType == MEDIA_TRACK_TYPE_SUBTITLE) {
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp203 int32_t trackType; local
205 trackType = MEDIA_TRACK_TYPE_AUDIO;
207 trackType = MEDIA_TRACK_TYPE_VIDEO;
209 trackType = MEDIA_TRACK_TYPE_SUBTITLE;
211 trackType = MEDIA_TRACK_TYPE_UNKNOWN;
213 format->setInt32("type", trackType);
/frameworks/av/services/audioflinger/
H A DAudioMixer.h389 static hook_t getTrackHook(int trackType, uint32_t channelCount,
H A DAudioMixer.cpp1986 AudioMixer::hook_t AudioMixer::getTrackHook(int trackType, uint32_t channelCount, argument
1990 switch (trackType) {
2000 LOG_ALWAYS_FATAL("bad trackType: %d", trackType);
2005 switch (trackType) {
2048 LOG_ALWAYS_FATAL("bad trackType: %d", trackType);
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java2533 * @param trackType should be one of {@link TrackInfo#MEDIA_TRACK_TYPE_VIDEO},
2537 * a negative integer is returned when there is no selected track for {@code trackType} or
2538 * when {@code trackType} is not one of audio, video, or subtitle.
2545 public int getSelectedTrack(int trackType) throws IllegalStateException { argument
2547 && (trackType == TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE
2548 || trackType == TrackInfo.MEDIA_TRACK_TYPE_TIMEDTEXT)) {
2554 if (p.second == subtitleTrack && subtitleTrack.getTrackType() == trackType) {
2567 request.writeInt(trackType);

Completed in 90 milliseconds