Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DAudioRecordingConfiguration.java62 MediaRecorder.AudioSource.DEFAULT,
63 MediaRecorder.AudioSource.MIC,
64 MediaRecorder.AudioSource.VOICE_UPLINK,
65 MediaRecorder.AudioSource.VOICE_DOWNLINK,
66 MediaRecorder.AudioSource.VOICE_CALL,
67 MediaRecorder.AudioSource.CAMCORDER,
68 MediaRecorder.AudioSource.VOICE_RECOGNITION,
69 MediaRecorder.AudioSource.VOICE_COMMUNICATION,
70 MediaRecorder.AudioSource.UNPROCESSED
73 public @interface AudioSource {} annotation in AudioRecordingConfiguration
[all …]
DMediaRecorder.java192 public final class AudioSource { class in MediaRecorder
194 private AudioSource() {} in AudioSource() method in MediaRecorder.AudioSource
309 case AudioSource.DEFAULT: in isSystemOnlyAudioSource()
310 case AudioSource.MIC: in isSystemOnlyAudioSource()
311 case AudioSource.VOICE_UPLINK: in isSystemOnlyAudioSource()
312 case AudioSource.VOICE_DOWNLINK: in isSystemOnlyAudioSource()
313 case AudioSource.VOICE_CALL: in isSystemOnlyAudioSource()
314 case AudioSource.CAMCORDER: in isSystemOnlyAudioSource()
315 case AudioSource.VOICE_RECOGNITION: in isSystemOnlyAudioSource()
316 case AudioSource.VOICE_COMMUNICATION: in isSystemOnlyAudioSource()
[all …]
DAudioAttributes.java253 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
354 private int mSource = MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID;
590 case MediaRecorder.AudioSource.DEFAULT: in setCapturePreset()
591 case MediaRecorder.AudioSource.MIC: in setCapturePreset()
592 case MediaRecorder.AudioSource.CAMCORDER: in setCapturePreset()
593 case MediaRecorder.AudioSource.VOICE_RECOGNITION: in setCapturePreset()
594 case MediaRecorder.AudioSource.VOICE_COMMUNICATION: in setCapturePreset()
595 case MediaRecorder.AudioSource.UNPROCESSED: in setCapturePreset()
613 if ((preset == MediaRecorder.AudioSource.HOTWORD) in setInternalCapturePreset()
614 || (preset == MediaRecorder.AudioSource.REMOTE_SUBMIX) in setInternalCapturePreset()
[all …]
DAudioRecord.java329 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) { in AudioRecord()
497 if ( (source < MediaRecorder.AudioSource.DEFAULT) || in setAudioSource()
521 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID) { in setAudioAttributes()
611 .setInternalCapturePreset(MediaRecorder.AudioSource.DEFAULT) in build()
676 if ( (audioSource < MediaRecorder.AudioSource.DEFAULT) || in audioParamCheck()
678 (audioSource != MediaRecorder.AudioSource.RADIO_TUNER) && in audioParamCheck()
679 (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
110 AudioSource::~AudioSource() { in ~AudioSource()
116 status_t AudioSource::initCheck() const { in initCheck()
120 status_t AudioSource::start(MetaData *params) { in start()
149 void AudioSource::releaseQueuedFrames_l() { in releaseQueuedFrames_l()
159 void AudioSource::waitOutstandingEncodingFrames_l() { in waitOutstandingEncodingFrames_l()
166 status_t AudioSource::reset() { in reset()
186 sp<MetaData> AudioSource::getFormat() { in getFormat()
202 void AudioSource::rampVolume( in rampVolume()
[all …]
DAndroid.mk12 AudioSource.cpp \
/frameworks/av/include/media/stagefright/
DAudioSource.h33 struct AudioSource : public MediaSource, public MediaBufferObserver { struct
36 AudioSource(
61 virtual ~AudioSource(); argument
110 AudioSource(const AudioSource &); argument
111 AudioSource &operator=(const AudioSource &); argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java41 public static final ParcelUuid AudioSource = field in BluetoothUuid
93 AudioSink, AudioSource, AdvAudioDist, HSP, Handsfree, AvrcpController, AvrcpTarget,
97 return uuid.equals(AudioSource); in isAudioSource()
/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.h39 struct AudioSource;
88 sp<AudioSource> mAudioSourceNode;
DStagefrightRecorder.cpp931 sp<AudioSource> audioSource = in createAudioSource()
932 new AudioSource( in createAudioSource()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp87 source = new AudioSource( in main()
/frameworks/base/docs/html/guide/topics/media/
Daudio-capture.jd51 <code>MediaRecorder.AudioSource.MIC</code>.</li>
149 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpSinkProfile.java45 BluetoothUuid.AudioSource,
DLocalBluetoothProfileManager.java149 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) { in updateLocalProfiles()
/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/base/media/java/android/media/audiopolicy/
DAudioPolicy.java345 .setInternalCapturePreset(MediaRecorder.AudioSource.REMOTE_SUBMIX) in createAudioRecordSink()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java231 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback()
DCamera2RecordingTest.java807 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
832 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecording()
DCamera2SwitchPreviewTest.java457 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in prepareRecordingWithProfile()
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.cpp1075 sp<AudioSource> audioSource = new AudioSource( in addAudioSource()
/frameworks/base/docs/html/ndk/guides/audio/
Dinput-latency.jd45 using the <a href="http://developer.android.com/reference/android/media/MediaRecorder.AudioSource.h…
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java466 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in setup()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java491 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in mediaRecorderRecord()

12