Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp316 info->mSample = NULL; in selectTrack()
357 if (info->mSample != NULL) { in unselectTrack()
358 info->mSample->release(); in unselectTrack()
359 info->mSample = NULL; in unselectTrack()
375 if (info->mSample != NULL) { in releaseTrackSamples()
376 info->mSample->release(); in releaseTrackSamples()
377 info->mSample = NULL; in releaseTrackSamples()
395 if (info->mSample != NULL) { in fetchTrackSamples()
396 info->mSample->release(); in fetchTrackSamples()
397 info->mSample = NULL; in fetchTrackSamples()
[all …]
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp804 mSample = sample; in play()
882 sp<Sample> sample = mSample; in process()
945 mPrevSampleID = mSample->sampleID(); in doStop_l()
946 mSample.clear(); in doStop_l()
1023 if (mAudioTrack != NULL && mSample != 0) { in setRate()
1024 uint32_t sampleRate = uint32_t(float(mSample->sampleRate()) * rate + 0.5); in setRate()
1048 if (mAudioTrack != NULL && mSample != 0) { in setLoop()
1049 uint32_t loopEnd = mSample->size()/mNumChannels/ in setLoop()
1050 ((mSample->format() == AUDIO_FORMAT_PCM_16_BIT) ? sizeof(int16_t) : sizeof(uint8_t)); in setLoop()
1078 mSample = sample; in set()
DSoundPool.h93 sp<Sample> sample() { return mSample; } in sample()
100 void clear() { mChannelID = 0; mSample.clear(); } in clear()
103 sp<Sample> mSample;
/frameworks/av/include/media/stagefright/
DNuMediaExtractor.h100 MediaBuffer *mSample; member