Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DMediaRecorder.java224 public final class AudioSource { class in MediaRecorder
226 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
363 AudioSource.DEFAULT,
364 AudioSource.MIC,
365 AudioSource.VOICE_UPLINK,
366 AudioSource.VOICE_DOWNLINK,
367 AudioSource.VOICE_CALL,
368 AudioSource.CAMCORDER,
369 AudioSource.VOICE_RECOGNITION,
370 AudioSource.VOICE_COMMUNICATION,
[all …]
DAudioRecordingConfiguration.java108 false /*clientSilenced*/, MediaRecorder.AudioSource.DEFAULT /*deviceSource*/, in AudioRecordingConfiguration()
167 MediaRecorder.AudioSource.DEFAULT,
168 MediaRecorder.AudioSource.MIC,
169 MediaRecorder.AudioSource.VOICE_UPLINK,
170 MediaRecorder.AudioSource.VOICE_DOWNLINK,
171 MediaRecorder.AudioSource.VOICE_CALL,
172 MediaRecorder.AudioSource.CAMCORDER,
173 MediaRecorder.AudioSource.VOICE_RECOGNITION,
174 MediaRecorder.AudioSource.VOICE_COMMUNICATION,
175 MediaRecorder.AudioSource.UNPROCESSED,
[all …]
DAudioAttributes.java450 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
588 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
907 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
908 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
909 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
910 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
911 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
912 case MediaRecorder.AudioSource.UNPROCESSED: in setCapturePreset()
913 case MediaRecorder.AudioSource.VOICE_PERFORMANCE: in setCapturePreset()
931 if ((preset == MediaRecorder.AudioSource.HOTWORD) in setInternalCapturePreset()
[all …]
DAudioRecord.java352 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
547 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
571 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
704 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
769 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || in audioParamCheck()
771 (audioSource != MediaRecorder.AudioSource.RADIO_TUNER) && in audioParamCheck()
772 (audioSource != MediaRecorder.AudioSource.ECHO_REFERENCE) && in audioParamCheck()
773 (audioSource != MediaRecorder.AudioSource.HOTWORD)) ) { in audioParamCheck()
/frameworks/av/media/libstagefright/
DAudioSource.cpp36 AudioSource *source = (AudioSource *) user; in AudioRecordCallbackFunction()
52 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
120 AudioSource::~AudioSource() { in ~AudioSource()
126 status_t AudioSource::initCheck() const { in initCheck()
130 status_t AudioSource::start(MetaData *params) { in start()
159 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
169 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
176 status_t AudioSource::reset() { in reset()
198 sp<MetaData> AudioSource::getFormat() { in getFormat()
214 void AudioSource::rampVolume( in rampVolume()
[all …]
DAndroid.bp194 "AudioSource.cpp",
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h36 struct AudioSource : public MediaSource, public MediaBufferObserver { struct
39 AudioSource(
79 virtual ~AudioSource();
132 AudioSource(const AudioSource &); argument
133 AudioSource &operator=(const AudioSource &); argument
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.h236 class AudioSource : public AudioProcessorBase {
238 explicit AudioSource(int32_t channelCount) in AudioSource() function
242 virtual ~AudioSource() = default;
DSourceI16.h27 class SourceI16 : public AudioSource {
DSourceFloat.h27 class SourceFloat : public AudioSource {
DSourceI24.h27 class SourceI24 : public AudioSource {
DSourceFloat.cpp25 : AudioSource(channelCount) { in SourceFloat()
DSourceI16.cpp30 : AudioSource(channelCount) { in SourceI16()
DSourceI24.cpp32 : AudioSource(channelCount) { in SourceI24()
/frameworks/av/media/libaaudio/src/client/
DAAudioFlowGraph.h56 std::unique_ptr<flowgraph::AudioSource> mSource;
/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/av/media/libmediaplayerservice/
DStagefrightRecorder.h40 struct AudioSource;
96 sp<AudioSource> mAudioSourceNode;
/frameworks/av/cmds/stagefright/
Daudioloop.cpp110 source = new AudioSource( in main()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java42 public static final int AUDIO_SOURCE = MediaRecorder.AudioSource.MIC;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp278 auto sinkMetadata = AudioSource(source); in openInputStream()
282 SinkMetadata sinkMetadata = {{{ .source = AudioSource(source), .gain = 1 }}}; in openInputStream()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressVideoRecord()
268 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressAudioRecord()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java321 new AudioAttributes.Builder().setCapturePreset(MediaRecorder.AudioSource.DEFAULT)
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback()
DCamera2RecordingTest.java815 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
840 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecording()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java235 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecording()

12