Home
last modified time | relevance | path

Searched refs:pTrack (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioMixer.cpp579 status_t AudioMixer::initTrackDownmix(track_t* pTrack, int trackName) in initTrackDownmix() argument
583 if (pTrack->channelMask != pTrack->mMixerChannelMask in initTrackDownmix()
584 && !(pTrack->channelMask == AUDIO_CHANNEL_OUT_MONO in initTrackDownmix()
585 && pTrack->mMixerChannelMask == AUDIO_CHANNEL_OUT_STEREO)) { in initTrackDownmix()
586 return prepareTrackForDownmix(pTrack, trackName); in initTrackDownmix()
589 unprepareTrackForDownmix(pTrack, trackName); in initTrackDownmix()
593 void AudioMixer::unprepareTrackForDownmix(track_t* pTrack, int trackName __unused) { in unprepareTrackForDownmix() argument
596 if (pTrack->downmixerBufferProvider != NULL) { in unprepareTrackForDownmix()
599 delete pTrack->downmixerBufferProvider; in unprepareTrackForDownmix()
600 pTrack->downmixerBufferProvider = NULL; in unprepareTrackForDownmix()
[all …]
DAudioMixer.h386 static status_t initTrackDownmix(track_t* pTrack, int trackName);
387 static status_t prepareTrackForDownmix(track_t* pTrack, int trackNum);
388 static void unprepareTrackForDownmix(track_t* pTrack, int trackName);
389 static status_t prepareTrackForReformat(track_t* pTrack, int trackNum);
390 static void unprepareTrackForReformat(track_t* pTrack, int trackName);
391 static void reconfigureBufferProviders(track_t* pTrack);
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp424 const mkvparser::Track *pTrack = pTracks->GetTrackByNumber(track.mTrackNum); in seek() local
425 if (pTrack && pTrack->GetType() == 1 && pCP->Find(pTrack)) { // VIDEO_TRACK in seek()
445 const mkvparser::Track *pTrack = pTracks->GetTrackByIndex(index); in seek() local
446 if (pTrack && pTrack->GetType() == 1 && pCues->Find(seekTimeNs, pTrack, pCP, pTP)) { in seek()
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp2294 uint16_t* pTrack = (uint16_t*)&buffer[10]; in parseITunesMetaData() local
2296 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData()