Home
last modified time | relevance | path

Searched refs:mAudioSource (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/libvideoeditor/lvpp/
DPreviewPlayer.cpp242 mAudioSource = DummyAudioSource::Create(32000, 2, 20000, in setDataSource_l_jpg()
244 if(mAudioSource != NULL) { in setDataSource_l_jpg()
245 setAudioSource(mAudioSource); in setDataSource_l_jpg()
247 status_t error = mAudioSource->start(); in setDataSource_l_jpg()
250 mAudioSource.clear(); in setDataSource_l_jpg()
290 if (mAudioPlayer == NULL && mAudioSource != NULL) { in reset_l()
294 mAudioSource->stop(); in reset_l()
296 mAudioSource.clear(); in reset_l()
360 if (mAudioSource == NULL || mAudioPlayer == NULL) { in startAudioPlayer_l()
425 meta = mAudioSource->getFormat(); in setAudioPlayer()
[all …]
DPreviewPlayer.h144 sp<MediaSource> mAudioSource; member
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp486 if ((mAudioSource != NULL) && (mAudioSource != mAudioTrack)) { in reset_l()
527 && mAudioSource != NULL) { in reset_l()
531 mAudioSource->stop(); in reset_l()
533 mAudioSource.clear(); in reset_l()
822 && (mAudioSource == NULL || (mFlags & AUDIO_AT_EOS)); in onStreamDone()
884 if (mAudioSource != NULL) { in play_l()
900 mAudioPlayer->setSource(mAudioSource); in play_l()
945 if (mAudioSource != NULL && mVideoSource != NULL) { in play_l()
958 if ((mAudioSource != NULL) && (mAudioSource != mAudioTrack)) { in play_l()
972 if (mAudioSource == NULL || mAudioPlayer == NULL) { in startAudioPlayer_l()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp71 mAudioSource(AUDIO_SOURCE_CNT), in StagefrightRecorder()
106 mAudioSource = AUDIO_SOURCE_MIC; in setAudioSource()
108 mAudioSource = as; in setAudioSource()
782 if (mAudioSource != AUDIO_SOURCE_CNT) { in start()
798 mAudioSource, in createAudioSource()
868 CHECK(mAudioSource != AUDIO_SOURCE_CNT); in startAACRecording()
909 if (mAudioSource >= AUDIO_SOURCE_CNT) { in startRawAudioRecording()
910 ALOGE("Invalid audio source: %d", mAudioSource); in startRawAudioRecording()
942 if ((mAudioSource != AUDIO_SOURCE_CNT in startRTPRecording()
944 || (mAudioSource == AUDIO_SOURCE_CNT in startRTPRecording()
[all …]
DStagefrightRecorder.h79 audio_source_t mAudioSource; member
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp35 mAudioSource(0), in AudioSfDecoder()
64 if ((mAudioSource != 0) && mAudioSourceStarted) { in preDestroy()
65 mAudioSource->stop(); in preDestroy()
323 mAudioSource = source; in onPrepare()
494 err = mAudioSource->read(&mDecodeBuffer, &readOptions); in onDecode()
758 if ((mAudioSource != 0) && mAudioSourceStarted) { in hasNewDecodeParams()
759 sp<MetaData> meta = mAudioSource->getFormat(); in hasNewDecodeParams()
Dandroid_AudioSfDecoder.h103 sp<MediaSource> mAudioSource;// the decoder reading from the data source variable
DAacBqToPcmCbRenderer.cpp209 mAudioSource = source; in onPrepare()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java75 private int mAudioSource = NO_AUDIO_SOURCE; field in MediaEncoderFilter
242 if (!mCaptureTimeLapse && (mAudioSource != NO_AUDIO_SOURCE)) { in updateMediaRecorderParams()
243 mMediaRecorder.setAudioSource(mAudioSource); in updateMediaRecorderParams()
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditor3gpReader.cpp89 sp<MediaSource> mAudioSource; member
574 pC->mAudioSource->stop(); in VideoEditor3gpReader_close()
575 pC->mAudioSource.clear(); in VideoEditor3gpReader_close()
994 pC->mAudioSource->read(&mMediaBuffer, &options); in VideoEditor3gpReader_getNextAu()
1003 pC->mAudioSource->read(&mMediaBuffer, &options); in VideoEditor3gpReader_getNextAu()
1664 pC->mAudioSource = pC->mExtractor->getTrack(pC->mCurrTrack); in VideoEditor3gpReader_getNextStreamHandler()
1665 pC->mAudioSource->start(); in VideoEditor3gpReader_getNextStreamHandler()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h174 sp<MediaSource> mAudioSource; member
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1146 mAudioSource(AUDIO_SOURCE_DEFAULT), mId(id), in ThreadBase()
6651 mAudioSource != (audio_source_t)value) { in checkForNewParameters_l()
6657 mAudioSource = (audio_source_t)value; in checkForNewParameters_l()
7824 effect->setAudioSource(mAudioSource); in createEffect_l()
7903 effect->setAudioSource(mAudioSource); in addEffect_l()
DAudioFlinger.h737 audio_source_t mAudioSource; // (see audio.h, audio_source_t) variable