Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DMediaRecorder.java267 public final class AudioSource { class in MediaRecorder
269 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
411 AudioSource.DEFAULT,
412 AudioSource.MIC,
413 AudioSource.VOICE_UPLINK,
414 AudioSource.VOICE_DOWNLINK,
415 AudioSource.VOICE_CALL,
416 AudioSource.CAMCORDER,
417 AudioSource.VOICE_RECOGNITION,
418 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.java514 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
657 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
726 if (mSource == MediaRecorder.AudioSource.VOICE_COMMUNICATION in build()
727 || mSource == MediaRecorder.AudioSource.CAMCORDER) { in build()
744 if (mSource != MediaRecorder.AudioSource.VOICE_RECOGNITION in build()
1061 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
1062 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
1063 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
1064 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
1065 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
[all …]
DAudioRecord.java406 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
618 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
656 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
876 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
884 if (source == MediaRecorder.AudioSource.REMOTE_SUBMIX in build()
885 || source == MediaRecorder.AudioSource.RADIO_TUNER in build()
886 || source == MediaRecorder.AudioSource.VOICE_DOWNLINK in build()
887 || source == MediaRecorder.AudioSource.VOICE_UPLINK in build()
888 || source == MediaRecorder.AudioSource.VOICE_CALL in build()
889 || source == MediaRecorder.AudioSource.ECHO_REFERENCE) { in build()
[all …]
/frameworks/av/media/libstagefright/
DAudioSource.cpp40 AudioSource *source = (AudioSource *) user; in AudioRecordCallbackFunction()
56 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
67 AudioSource::AudioSource( in AudioSource() function in android::AudioSource
84 void AudioSource::set( in set()
154 AudioSource::~AudioSource() { in ~AudioSource()
160 status_t AudioSource::initCheck() const { in initCheck()
164 status_t AudioSource::start(MetaData *params) { in start()
193 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
203 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
210 status_t AudioSource::reset() { in reset()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h38 struct AudioSource : public MediaSource, public MediaBufferObserver { struct
41 AudioSource(
52 AudioSource(
92 virtual ~AudioSource();
145 AudioSource(const AudioSource &); argument
146 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;
DSourceI24.h26 class SourceI24 : public AudioSource {
DSourceFloat.h27 class SourceFloat : public AudioSource {
DSourceI16.h27 class SourceI16 : public AudioSource {
DSourceI32.h26 class SourceI32 : public AudioSource {
DSourceFloat.cpp25 : AudioSource(channelCount) { in SourceFloat()
DSourceI16.cpp30 : AudioSource(channelCount) { in SourceI16()
DSourceI32.cpp30 : AudioSource(channelCount) { in SourceI32()
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/base/core/java/android/service/voice/
DHotwordDetectionService.java111 @interface AudioSource {} annotation in HotwordDetectionService
163 @AudioSource int audioSource,
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h43 struct AudioSource;
107 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()
/frameworks/av/services/audiopolicy/fuzzer/
DREADME.md36 | `AudioSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java42 public static final int AUDIO_SOURCE = MediaRecorder.AudioSource.MIC;
/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/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp258 auto sinkMetadata = AudioSource(source); in openInputStream()
262 AudioSource hidlSource; in openInputStream()

12