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.java669 mAudioSource = null;
677 private AudioDevicePort mAudioSource; field in TvInputHardwareManager.TvInputHardwareImpl
695 mAudioSource = findAudioDevicePort(mInfo.getAudioType(), mInfo.getAudioAddress()); in TvInputHardwareImpl()
798 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
809 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
811 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
836 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
886 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
888 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
890 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
[all …]
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp534 if ((mAudioSource != NULL) && (mAudioSource != mAudioTrack)) { in reset_l()
575 && mAudioSource != NULL) { in reset_l()
579 mAudioSource->stop(); in reset_l()
581 mAudioSource.clear(); in reset_l()
875 && (mAudioSource == NULL || (mFlags & AUDIO_AT_EOS)); in onStreamDone()
956 if (mAudioSource != NULL) { in play_l()
980 mAudioSource->stop(); in play_l()
984 mAudioSource = mOmxSource; in play_l()
985 if (mAudioSource != NULL) { in play_l()
986 err = mAudioSource->start(); in play_l()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp75 mAudioSource(AUDIO_SOURCE_CNT), in StagefrightRecorder()
120 mAudioSource = AUDIO_SOURCE_MIC; in setAudioSource()
122 mAudioSource = as; in setAudioSource()
868 if (mAudioSource != AUDIO_SOURCE_CNT) { in start()
884 mAudioSource, in createAudioSource()
954 CHECK(mAudioSource != AUDIO_SOURCE_CNT); in setupAACRecording()
984 if (mAudioSource >= AUDIO_SOURCE_CNT && mAudioSource != AUDIO_SOURCE_FM_TUNER) { in setupRawAudioRecording()
985 ALOGE("Invalid audio source: %d", mAudioSource); in setupRawAudioRecording()
1016 if ((mAudioSource != AUDIO_SOURCE_CNT in setupRTPRecording()
1018 || (mAudioSource == AUDIO_SOURCE_CNT in setupRTPRecording()
[all …]
DStagefrightRecorder.h83 audio_source_t mAudioSource; member
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp36 mAudioSource(0), in AudioSfDecoder()
65 if ((mAudioSource != 0) && mAudioSourceStarted) { in preDestroy()
66 mAudioSource->stop(); in preDestroy()
325 mAudioSource = source; in onPrepare()
496 err = mAudioSource->read(&mDecodeBuffer, &readOptions); in onDecode()
760 if ((mAudioSource != 0) && mAudioSourceStarted) { in hasNewDecodeParams()
761 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.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.h181 sp<MediaSource> mAudioSource; member
/frameworks/av/services/audioflinger/
DThreads.cpp327 mAudioSource(AUDIO_SOURCE_DEFAULT), mId(id), in ThreadBase()
998 effect->setAudioSource(mAudioSource); in createEffect_l()
1084 effect->setAudioSource(mAudioSource); in addEffect_l()
6134 mAudioSource != (audio_source_t)value) { in checkForNewParameter_l()
6140 mAudioSource = (audio_source_t)value; in checkForNewParameter_l()
6363 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
6364 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
6366 mEffectChains[i]->setAudioSource_l(mAudioSource); in createAudioPatch_l()
6412 config->ext.mix.usecase.source = mAudioSource; in getAudioPortConfig()
DThreads.h427 audio_source_t mAudioSource; // (see audio.h, audio_source_t) variable