Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java81 private ScreenRecordingAudioSource mAudioSource; field in ScreenMediaRecorder
92 mAudioSource = audioSource; in ScreenMediaRecorder()
115 if (mAudioSource == MIC) { in prepare()
143 if (mAudioSource == MIC) { in prepare()
165 if (mAudioSource == INTERNAL || in prepare()
166 mAudioSource == MIC_AND_INTERNAL) { in prepare()
170 mMediaProjection, mAudioSource == MIC_AND_INTERNAL); in prepare()
202 if (mAudioSource == INTERNAL || mAudioSource == MIC_AND_INTERNAL) { in stopInternalAudioRecording()
209 if (mAudioSource == INTERNAL || mAudioSource == MIC_AND_INTERNAL) { in recordInternalAudio()
233 if (mAudioSource == MIC_AND_INTERNAL || mAudioSource == INTERNAL) { in save()
DRecordingService.java76 private ScreenRecordingAudioSource mAudioSource; field in RecordingService
127 mAudioSource = ScreenRecordingAudioSource in onStartCommand()
129 Log.d(TAG, "recording with audio source" + mAudioSource); in onStartCommand()
141 mAudioSource, in onStartCommand()
253 String notificationTitle = mAudioSource == ScreenRecordingAudioSource.NONE in createRecordingNotification()
276 String notificationTitle = mAudioSource == ScreenRecordingAudioSource.NONE in createProcessingNotification()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp117 mAudioSource((audio_source_t)AUDIO_SOURCE_CNT), // initialize with invalid value in StagefrightRecorder()
238 mAudioSource = AUDIO_SOURCE_MIC; in setAudioSource()
240 mAudioSource = as; in setAudioSource()
249 if (mAudioSource == AUDIO_SOURCE_CNT) { in setPrivacySensitive()
258 if (mAudioSource == AUDIO_SOURCE_CNT) { in isPrivacySensitive()
262 *privacySensitive = mAudioSource == AUDIO_SOURCE_VOICE_COMMUNICATION in isPrivacySensitive()
263 || mAudioSource == AUDIO_SOURCE_CAMCORDER; in isPrivacySensitive()
1077 if (mAudioSource != AUDIO_SOURCE_CNT) { in start()
1111 attr.source = mAudioSource; in createAudioSource()
1122 if (mAudioSource == AUDIO_SOURCE_REMOTE_SUBMIX in createAudioSource()
[all …]
DStagefrightRecorder.h112 audio_source_t mAudioSource; member
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java781 mAudioSource = null;
792 private AudioDevicePort mAudioSource; field in TvInputHardwareManager.TvInputHardwareImpl
810 mAudioSource = findAudioDevicePort(mInfo.getAudioType(), mInfo.getAudioAddress()); in TvInputHardwareImpl()
912 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
923 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
925 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
950 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
1000 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
1002 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
1004 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp46 mAudioSource(0), in AudioSfDecoder()
75 if ((mAudioSource != 0) && mAudioSourceStarted) { in preDestroy()
76 mAudioSource->stop(); in preDestroy()
330 mAudioSource = source; in onPrepare()
501 err = mAudioSource->read(&mDecodeBuffer, &readOptions); in onDecode()
765 if ((mAudioSource != 0) && mAudioSourceStarted) { in hasNewDecodeParams()
766 sp<MetaData> meta = mAudioSource->getFormat(); in hasNewDecodeParams()
Dandroid_AudioSfDecoder.h95 sp<MediaSource> mAudioSource;// the decoder reading from the data source variable
DAacBqToPcmCbRenderer.cpp206 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/services/audioflinger/
DThreads.cpp509 mAudioSource(AUDIO_SOURCE_DEFAULT), mId(id), in ThreadBase()
901 dprintf(fd, " Audio source: %d (%s)\n", mAudioSource, toString(mAudioSource).c_str()); in dumpBase_l()
1425 effect->setAudioSource(mAudioSource); in createEffect_l()
1568 effect->setAudioSource(mAudioSource); in addEffect_l()
8341 mAudioSource != (audio_source_t)value) { in checkForNewParameter_l()
8566 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
8567 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
8569 mEffectChains[i]->setAudioSource_l(mAudioSource); in createAudioPatch_l()
8666 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
9211 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
[all …]
DThreads.h571 audio_source_t mAudioSource; variable