Home
last modified time | relevance | path

Searched refs:AudioSource (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/media/java/android/media/
DMediaRecorder.java271 public final class AudioSource { class in MediaRecorder
273 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
425 AudioSource.DEFAULT,
426 AudioSource.MIC,
427 AudioSource.VOICE_UPLINK,
428 AudioSource.VOICE_DOWNLINK,
429 AudioSource.VOICE_CALL,
430 AudioSource.CAMCORDER,
431 AudioSource.VOICE_RECOGNITION,
432 AudioSource.VOICE_COMMUNICATION,
[all …]
DAudioRecordingConfiguration.java111 false /*clientSilenced*/, MediaRecorder.AudioSource.DEFAULT /*deviceSource*/, in AudioRecordingConfiguration()
170 MediaRecorder.AudioSource.DEFAULT,
171 MediaRecorder.AudioSource.MIC,
172 MediaRecorder.AudioSource.VOICE_UPLINK,
173 MediaRecorder.AudioSource.VOICE_DOWNLINK,
174 MediaRecorder.AudioSource.VOICE_CALL,
175 MediaRecorder.AudioSource.CAMCORDER,
176 MediaRecorder.AudioSource.VOICE_RECOGNITION,
177 MediaRecorder.AudioSource.VOICE_COMMUNICATION,
178 MediaRecorder.AudioSource.UNPROCESSED,
[all …]
DAudioAttributes.java562 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
756 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
850 if (mSource == MediaRecorder.AudioSource.VOICE_COMMUNICATION in build()
851 || mSource == MediaRecorder.AudioSource.CAMCORDER) { in build()
868 if (mSource != MediaRecorder.AudioSource.VOICE_RECOGNITION in build()
1246 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
1247 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
1248 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
1249 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
1250 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
[all …]
DAudioRecord.java400 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
615 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
653 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
932 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
940 if (source == MediaRecorder.AudioSource.REMOTE_SUBMIX in build()
941 || source == MediaRecorder.AudioSource.RADIO_TUNER in build()
942 || source == MediaRecorder.AudioSource.VOICE_DOWNLINK in build()
943 || source == MediaRecorder.AudioSource.VOICE_UPLINK in build()
944 || source == MediaRecorder.AudioSource.VOICE_CALL in build()
945 || source == MediaRecorder.AudioSource.ECHO_REFERENCE) { in build()
[all …]
/frameworks/av/media/libstagefright/
DAudioSource.cpp40 void AudioSource::onOverrun() { in onOverrun()
44 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
55 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
72 void AudioSource::set( in set()
141 AudioSource::~AudioSource() { in ~AudioSource()
147 status_t AudioSource::initCheck() const { in initCheck()
151 status_t AudioSource::start(MetaData *params) { in start()
180 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
190 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
197 status_t AudioSource::reset() { in reset()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h38 struct AudioSource : public MediaSource, struct
43 AudioSource(
54 AudioSource(
93 virtual ~AudioSource();
150 AudioSource(const AudioSource &); argument
151 AudioSource &operator=(const AudioSource &); argument
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl54 import android.media.audio.common.AudioSource;
160 boolean isSourceActive(AudioSource source); in isSourceActive()
175 AudioSource source); in addSourceDefaultEffect()
337 void setDevicesRoleForCapturePreset(AudioSource audioSource, in setDevicesRoleForCapturePreset()
341 void addDevicesRoleForCapturePreset(AudioSource audioSource, in addDevicesRoleForCapturePreset()
345 void removeDevicesRoleForCapturePreset(AudioSource audioSource, in removeDevicesRoleForCapturePreset()
349 void clearDevicesRoleForCapturePreset(AudioSource audioSource, in clearDevicesRoleForCapturePreset()
352 AudioDevice[] getDevicesForRoleAndCapturePreset(AudioSource audioSource, in getDevicesForRoleAndCapturePreset()
DRecordClientInfo.aidl19 import android.media.audio.common.AudioSource;
31 AudioSource source;
DAudioMixMatchCriterionValue.aidl19 import android.media.audio.common.AudioSource;
27 AudioSource source;
DOpenInputRequest.aidl21 import android.media.audio.common.AudioSource;
33 AudioSource source;
DAudioAttributesInternal.aidl20 import android.media.audio.common.AudioSource;
31 AudioSource source;
DIAudioPolicyServiceClient.aidl22 import android.media.audio.common.AudioSource;
46 AudioSource source); in onRecordingConfigurationUpdate()
/frameworks/base/media/aidl/android/media/audio/common/
DAudioPortMixExtUseCase.aidl19 import android.media.audio.common.AudioSource;
44 AudioSource source;
DAudioSource.aidl27 enum AudioSource { enum
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/
DAudioPortMixExtUseCase.aidl40 android.media.audio.common.AudioSource source;
DAudioSource.aidl37 enum AudioSource { enum
/frameworks/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioPortMixExtUseCase.aidl40 android.media.audio.common.AudioSource source;
DAudioSource.aidl37 enum AudioSource { enum
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp63 using media::audio::common::AudioSource;
1738 AudioSource aidl) { in aidl2legacy_AudioSource_audio_source_t()
1740 case AudioSource::SYS_RESERVED_INVALID: in aidl2legacy_AudioSource_audio_source_t()
1742 case AudioSource::DEFAULT: in aidl2legacy_AudioSource_audio_source_t()
1744 case AudioSource::MIC: in aidl2legacy_AudioSource_audio_source_t()
1746 case AudioSource::VOICE_UPLINK: in aidl2legacy_AudioSource_audio_source_t()
1748 case AudioSource::VOICE_DOWNLINK: in aidl2legacy_AudioSource_audio_source_t()
1750 case AudioSource::VOICE_CALL: in aidl2legacy_AudioSource_audio_source_t()
1752 case AudioSource::CAMCORDER: in aidl2legacy_AudioSource_audio_source_t()
1754 case AudioSource::VOICE_RECOGNITION: in aidl2legacy_AudioSource_audio_source_t()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java87 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo()
136 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in validateGetSurface()
237 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoFromSurface()
348 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoWithPara()
379 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in invalidRecordSetting()
/frameworks/base/core/java/android/service/voice/
DHotwordDetectionService.java119 @interface AudioSource {} annotation in HotwordDetectionService
169 @AudioSource int audioSource,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h58 using media::audio::common::AudioSource;
151 binder::Status isSourceActive(AudioSource source, bool* _aidl_return) override;
158 AudioSource source,
245 AudioSource audioSource,
249 AudioSource audioSource,
253 AudioSource audioSource,
256 binder::Status clearDevicesRoleForCapturePreset(AudioSource audioSource,
259 AudioSource audioSource,
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h44 struct AudioSource;
108 sp<AudioSource> mAudioSourceNode;
/frameworks/base/media/java/android/media/musicrecognition/
DRecognitionRequest.java91 private int mCaptureSession = MediaRecorder.AudioSource.MIC;
/frameworks/av/cmds/stagefright/
Daudioloop.cpp117 source = new AudioSource( in main()

123