Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioUtils.java24 import android.media.MediaRecorder.AudioSource;
127 case AudioSource.DEFAULT: in audioSourceToString()
129 case AudioSource.MIC: in audioSourceToString()
131 case AudioSource.VOICE_UPLINK: in audioSourceToString()
133 case AudioSource.VOICE_DOWNLINK: in audioSourceToString()
135 case AudioSource.VOICE_CALL: in audioSourceToString()
137 case AudioSource.CAMCORDER: in audioSourceToString()
139 case AudioSource.VOICE_RECOGNITION: in audioSourceToString()
141 case AudioSource.VOICE_COMMUNICATION: in audioSourceToString()
143 case AudioSource.UNPROCESSED: in audioSourceToString()
DWebRtcAudioRecord.java20 import android.media.MediaRecorder.AudioSource;
61 public static final int DEFAULT_AUDIO_SOURCE = AudioSource.VOICE_COMMUNICATION;
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackApplication.java109 mappedSource = MediaRecorder.AudioSource.DEFAULT; in mapMicSource()
112 mappedSource = MediaRecorder.AudioSource.MIC; in mapMicSource()
115 mappedSource = MediaRecorder.AudioSource.CAMCORDER; in mapMicSource()
118 mappedSource = MediaRecorder.AudioSource.VOICE_RECOGNITION; in mapMicSource()
121 mappedSource = MediaRecorder.AudioSource.VOICE_COMMUNICATION; in mapMicSource()
124 mappedSource = MediaRecorder.AudioSource.REMOTE_SUBMIX; in mapMicSource()
130 mappedSource = MediaRecorder.AudioSource.DEFAULT; in mapMicSource()
DLoopbackAudioThread.java141 mAudioFormat, mMinRecorderBuffSizeInBytes, MediaRecorder.AudioSource.MIC, this, in run()
/external/webrtc/sdk/android/api/org/webrtc/
DAudioSource.java17 public class AudioSource extends MediaSource { class
18 public AudioSource(long nativeSource) { in AudioSource() method in AudioSource
DPeerConnectionFactory.java462 public AudioSource createAudioSource(MediaConstraints constraints) { in createAudioSource()
464 return new AudioSource(nativeCreateAudioSource(nativeFactory, constraints)); in createAudioSource()
467 public AudioTrack createAudioTrack(String id, AudioSource source) { in createAudioTrack()
/external/webrtc/media/base/
Daudio_source.h23 class AudioSource {
48 virtual ~AudioSource() {} in ~AudioSource()
Dfake_media_engine.h333 AudioSource* source) override;
363 class VoiceChannelAudioSink : public AudioSource::Sink {
365 explicit VoiceChannelAudioSink(AudioSource* source);
374 AudioSource* source() const;
377 AudioSource* source_;
384 bool SetLocalSource(uint32_t ssrc, AudioSource* source);
Dfake_media_engine.cc28 AudioSource* source) in VoiceChannelAudioSink()
47 AudioSource* FakeVoiceMediaChannel::VoiceChannelAudioSink::source() const { in source()
105 AudioSource* source) { in SetAudioSend()
229 bool FakeVoiceMediaChannel::SetLocalSource(uint32_t ssrc, AudioSource* source) { in SetLocalSource()
Dmedia_channel.h68 class AudioSource; variable
823 AudioSource* source) = 0;
/external/webrtc/pc/
Drtp_sender.h210 public cricket::AudioSource {
236 void SetSink(cricket::AudioSource::Sink* sink) override;
238 cricket::AudioSource::Sink* sink_;
Drtp_sender.cc403 void LocalAudioSinkAdapter::SetSink(cricket::AudioSource::Sink* sink) { in SetSink()
/external/webrtc/media/engine/
Dwebrtc_voice_engine.h37 class AudioSource; variable
162 AudioSource* source) override;
254 bool SetLocalSource(uint32_t ssrc, AudioSource* source);
Dwebrtc_voice_engine.cc751 : public AudioSource::Sink {
915 void SetSource(AudioSource* source) { in SetSource()
1136 AudioSource* source_ = nullptr;
1876 AudioSource* source) { in SetAudioSend()
2030 AudioSource* source) { in SetLocalSource()
Dwebrtc_voice_engine_unittest.cc176 class FakeAudioSource : public cricket::AudioSource {
330 cricket::AudioSource* source, in SetAudioSend()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaRecorderFacade.java71 startAudioRecording(targetPath, MediaRecorder.AudioSource.MIC); in recorderStartMicrophone()
90 int audioSource = MediaRecorder.AudioSource.MIC; in startVideoRecording()
173 int audioSource = MediaRecorder.AudioSource.MIC; in startVideoRecording()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaRecorderTest.java59 …assertThat(shadowMediaRecorder.getAudioSource()).isNotEqualTo(MediaRecorder.AudioSource.CAMCORDER); in testAudioSource()
61 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in testAudioSource()
62 assertThat(shadowMediaRecorder.getAudioSource()).isEqualTo(MediaRecorder.AudioSource.CAMCORDER); in testAudioSource()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAudioRecordThread.java57 MediaRecorder.AudioSource.VOICE_RECOGNITION, in createRecorder()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioRecord.java15 import android.media.MediaRecorder.AudioSource;
366 return AudioSource.VOICE_COMMUNICATION; in getDefaultAudioSource()
/external/webrtc/test/peer_scenario/
Dpeer_scenario_client.h75 struct AudioSource { struct
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DSpeechActivity.java216 MediaRecorder.AudioSource.DEFAULT, in record()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java39 import org.webrtc.AudioSource;
134 private AudioSource audioSource;
/external/webrtc/sdk/android/
DBUILD.gn260 "api/org/webrtc/AudioSource.java",