Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java661 mAudioSource = null;
669 private AudioDevicePort mAudioSource; field in TvInputHardwareManager.TvInputHardwareImpl
687 mAudioSource = findAudioDevicePort(mInfo.getAudioType(), mInfo.getAudioAddress()); in TvInputHardwareImpl()
788 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
799 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
801 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
826 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
876 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
878 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
880 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
[all …]
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp536 if ((mAudioSource != NULL) && (mAudioSource != mAudioTrack)) { in reset_l()
577 && mAudioSource != NULL) { in reset_l()
581 mAudioSource->stop(); in reset_l()
583 mAudioSource.clear(); in reset_l()
877 && (mAudioSource == NULL || (mFlags & AUDIO_AT_EOS)); in onStreamDone()
955 if (mAudioSource != NULL) { in play_l()
979 mAudioSource->stop(); in play_l()
983 mAudioSource = mOmxSource; in play_l()
984 if (mAudioSource != NULL) { in play_l()
985 err = mAudioSource->start(); in play_l()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp37 mAudioSource(0), in AudioSfDecoder()
66 if ((mAudioSource != 0) && mAudioSourceStarted) { in preDestroy()
67 mAudioSource->stop(); in preDestroy()
326 mAudioSource = source; in onPrepare()
497 err = mAudioSource->read(&mDecodeBuffer, &readOptions); in onDecode()
761 if ((mAudioSource != 0) && mAudioSourceStarted) { in hasNewDecodeParams()
762 sp<MetaData> meta = mAudioSource->getFormat(); in hasNewDecodeParams()
Dandroid_AudioSfDecoder.h103 sp<MediaSource> mAudioSource;// the decoder reading from the data source variable
DAacBqToPcmCbRenderer.cpp212 mAudioSource = source; in onPrepare()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp76 mAudioSource(AUDIO_SOURCE_CNT), in StagefrightRecorder()
120 mAudioSource = AUDIO_SOURCE_MIC; in setAudioSource()
122 mAudioSource = as; in setAudioSource()
897 if (mAudioSource != AUDIO_SOURCE_CNT) { in start()
932 mAudioSource, in createAudioSource()
1004 CHECK(mAudioSource != AUDIO_SOURCE_CNT); in setupAACRecording()
1034 if (mAudioSource >= AUDIO_SOURCE_CNT && mAudioSource != AUDIO_SOURCE_FM_TUNER) { in setupRawAudioRecording()
1035 ALOGE("Invalid audio source: %d", mAudioSource); in setupRawAudioRecording()
1066 if ((mAudioSource != AUDIO_SOURCE_CNT in setupRTPRecording()
1068 || (mAudioSource == AUDIO_SOURCE_CNT in setupRTPRecording()
[all …]
DStagefrightRecorder.h85 audio_source_t mAudioSource; member
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java66 private int mAudioSource = NO_AUDIO_SOURCE; field in MediaEncoderFilter
233 if (!mCaptureTimeLapse && (mAudioSource != NO_AUDIO_SOURCE)) { in updateMediaRecorderParams()
234 mMediaRecorder.setAudioSource(mAudioSource); in updateMediaRecorderParams()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h184 sp<MediaSource> mAudioSource; member
/frameworks/av/services/audioflinger/
DThreads.cpp541 mAudioSource(AUDIO_SOURCE_DEFAULT), mId(id), in ThreadBase()
850 dprintf(fd, " Audio source: %d (%s)\n", mAudioSource, sourceToString(mAudioSource)); in dumpBase()
1243 effect->setAudioSource(mAudioSource); in createEffect_l()
1329 effect->setAudioSource(mAudioSource); in addEffect_l()
6829 mAudioSource != (audio_source_t)value) { in checkForNewParameter_l()
6835 mAudioSource = (audio_source_t)value; in checkForNewParameter_l()
7063 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
7064 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
7066 mEffectChains[i]->setAudioSource_l(mAudioSource); in createAudioPatch_l()
7141 config->ext.mix.usecase.source = mAudioSource; in getAudioPortConfig()
DThreads.h443 audio_source_t mAudioSource; variable