Home
last modified time | relevance | path

Searched refs:AudioDeviceModule (Results 1 – 25 of 58) sorted by relevance

123

/external/webrtc/webrtc/modules/audio_device/test/
Daudio_device_test_api.cc49 AudioEventObserverAPI(AudioDeviceModule* audioDevice) in AudioEventObserverAPI()
73 AudioDeviceModule* audio_device_;
78 AudioTransportAPI(AudioDeviceModule* audioDevice) in AudioTransportAPI()
155 kId, AudioDeviceModule::kLinuxAlsaAudio)) == NULL); in SetUpTestCase()
160 kId, AudioDeviceModule::kPlatformDefaultAudio)) != NULL); in SetUpTestCase()
165 kId, AudioDeviceModule::kWindowsWaveAudio)) != NULL); in SetUpTestCase()
170 kId, AudioDeviceModule::kWindowsCoreAudio)) != NULL); in SetUpTestCase()
174 kId, AudioDeviceModule::kWindowsCoreAudio)) == NULL); in SetUpTestCase()
177 kId, AudioDeviceModule::kPlatformDefaultAudio)) != NULL); in SetUpTestCase()
182 kId, AudioDeviceModule::kWindowsWaveAudio)) != NULL); in SetUpTestCase()
[all …]
Dfunc_test_manager.cc113 AudioEventObserver::AudioEventObserver(AudioDeviceModule* audioDevice) in AudioEventObserver()
134 AudioTransportImpl::AudioTransportImpl(AudioDeviceModule* audioDevice) : in AudioTransportImpl()
316 AudioDeviceModule::ChannelType in RecordedDataIsAvailable()
317 chType(AudioDeviceModule::kChannelLeft); in RecordedDataIsAvailable()
319 if (chType == AudioDeviceModule::kChannelLeft) in RecordedDataIsAvailable()
746 AudioDeviceModule* audioDevice = _audioDevice; in TestAudioLayerSelection()
748 AudioDeviceModule::AudioLayer audioLayer; in TestAudioLayerSelection()
751 if (audioLayer == AudioDeviceModule::kWindowsWaveAudio) in TestAudioLayerSelection()
754 } else if (audioLayer == AudioDeviceModule::kWindowsCoreAudio) in TestAudioLayerSelection()
757 } else if (audioLayer == AudioDeviceModule::kLinuxAlsaAudio) in TestAudioLayerSelection()
[all …]
Dfunc_test_manager.h24 #define ADM_AUDIO_LAYER AudioDeviceModule::kPlatformDefaultAudio
61 class AudioDeviceModule; variable
74 AudioEventObserver(AudioDeviceModule* audioDevice);
108 AudioTransportImpl(AudioDeviceModule* audioDevice);
152 AudioDeviceModule* _audioDevice;
210 AudioDeviceModule* _audioDevice;
/external/webrtc/webrtc/voice_engine/
Dvoe_hardware_impl.cc58 AudioDeviceModule::AudioLayer wantedLayer( in SetAudioDeviceLayer()
59 AudioDeviceModule::kPlatformDefaultAudio); in SetAudioDeviceLayer()
65 wantedLayer = AudioDeviceModule::kWindowsCoreAudio; in SetAudioDeviceLayer()
68 wantedLayer = AudioDeviceModule::kWindowsWaveAudio; in SetAudioDeviceLayer()
71 wantedLayer = AudioDeviceModule::kLinuxAlsaAudio; in SetAudioDeviceLayer()
74 wantedLayer = AudioDeviceModule::kLinuxPulseAudio; in SetAudioDeviceLayer()
87 AudioDeviceModule::AudioLayer activeLayer( in GetAudioDeviceLayer()
88 AudioDeviceModule::kPlatformDefaultAudio); in GetAudioDeviceLayer()
104 case AudioDeviceModule::kPlatformDefaultAudio: in GetAudioDeviceLayer()
107 case AudioDeviceModule::kWindowsCoreAudio: in GetAudioDeviceLayer()
[all …]
Dshared_data.h40 AudioDeviceModule* audio_device() { return _audioDevicePtr; } in audio_device()
41 void set_audio_device(AudioDeviceModule* audio_device);
48 AudioDeviceModule::AudioLayer audio_device_layer() const { in audio_device_layer()
51 void set_audio_device_layer(AudioDeviceModule::AudioLayer layer) { in set_audio_device_layer()
69 AudioDeviceModule* _audioDevicePtr;
75 AudioDeviceModule::AudioLayer _audioDeviceLayer;
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc507 audio_device_ = CreateAudioDevice(AudioDeviceModule::kPlatformDefaultAudio); in AudioDeviceTest()
541 rtc::scoped_refptr<AudioDeviceModule> audio_device() const { in audio_device()
553 AudioManager* GetAudioManager(AudioDeviceModule* adm) const { in GetAudioManager()
562 rtc::scoped_refptr<AudioDeviceModule> CreateAudioDevice( in CreateAudioDevice()
563 AudioDeviceModule::AudioLayer audio_layer) { in CreateAudioDevice()
564 rtc::scoped_refptr<AudioDeviceModule> module( in CreateAudioDevice()
593 AudioDeviceModule::AudioLayer GetActiveAudioLayer() const { in GetActiveAudioLayer()
594 AudioDeviceModule::AudioLayer audio_layer; in GetActiveAudioLayer()
600 const AudioDeviceModule::AudioLayer& layer_to_test) { in TestDelayOnAudioLayer()
601 rtc::scoped_refptr<AudioDeviceModule> audio_device; in TestDelayOnAudioLayer()
[all …]
Daudio_device_template.h40 AudioDeviceTemplate(AudioDeviceModule::AudioLayer audio_layer, in AudioDeviceTemplate()
55 AudioDeviceModule::AudioLayer& audioLayer) const override { in ActiveAudioLayer()
124 AudioDeviceModule::WindowsDeviceType device) override { in SetPlayoutDevice()
136 AudioDeviceModule::WindowsDeviceType device) override { in SetRecordingDevice()
377 const AudioDeviceModule::BufferType type, uint16_t sizeMS) override { in SetPlayoutBuffer()
383 AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const override { in PlayoutBuffer()
490 const AudioDeviceModule::AudioLayer audio_layer_;
Daudio_manager.cc71 audio_layer_(AudioDeviceModule::kPlatformDefaultAudio), in AudioManager()
101 AudioDeviceModule::AudioLayer audio_layer) { in SetActiveAudioLayer()
112 (audio_layer == AudioDeviceModule::kAndroidJavaAudio) ? in SetActiveAudioLayer()
122 RTC_DCHECK_NE(audio_layer_, AudioDeviceModule::kPlatformDefaultAudio); in Init()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.h48 virtual int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer) const;
69 virtual int32_t SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType device);
71 virtual int32_t SetRecordingDevice(AudioDeviceModule::WindowsDeviceType device);
143 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type, uint16_t sizeMS);
144 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const;
169 AudioDeviceModule::WindowsDeviceType OutputDevice() const {return _outputDevice;} in OutputDevice()
172 AudioDeviceModule::WindowsDeviceType InputDevice() const {return _inputDevice;} in InputDevice()
236 AudioDeviceModule::WindowsDeviceType _inputDevice;
237 AudioDeviceModule::WindowsDeviceType _outputDevice;
261 AudioDeviceModule::BufferType _playBufType;
Daudio_device_core_win.h91 virtual int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer) const;
112 virtual int32_t SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType device);
114 virtual int32_t SetRecordingDevice(AudioDeviceModule::WindowsDeviceType device);
186 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type, uint16_t sizeMS);
187 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const;
354 AudioDeviceModule::WindowsDeviceType _inputDevice;
355 AudioDeviceModule::WindowsDeviceType _outputDevice;
366 AudioDeviceModule::BufferType _playBufType;
/external/webrtc/webrtc/modules/audio_device/dummy/
Dfile_audio_device.h47 AudioDeviceModule::AudioLayer& audioLayer) const override;
67 AudioDeviceModule::WindowsDeviceType device) override;
70 AudioDeviceModule::WindowsDeviceType device) override;
143 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
145 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
172 AudioDeviceModule::BufferType _playBufType;
Daudio_device_dummy.cc16 AudioDeviceModule::AudioLayer& audioLayer) const { in ActiveAudioLayer()
45 AudioDeviceModule::WindowsDeviceType device) { in SetPlayoutDevice()
52 AudioDeviceModule::WindowsDeviceType device) { in SetRecordingDevice()
182 const AudioDeviceModule::BufferType type, in SetPlayoutBuffer()
187 int32_t AudioDeviceDummy::PlayoutBuffer(AudioDeviceModule::BufferType& type, in PlayoutBuffer()
Daudio_device_dummy.h27 AudioDeviceModule::AudioLayer& audioLayer) const override;
47 AudioDeviceModule::WindowsDeviceType device) override;
50 AudioDeviceModule::WindowsDeviceType device) override;
123 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
125 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.h39 AudioDeviceModule::AudioLayer& audioLayer) const override;
59 AudioDeviceModule::WindowsDeviceType device) override;
62 AudioDeviceModule::WindowsDeviceType device) override;
136 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
138 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
225 AudioDeviceModule::BufferType _playBufType;
Daudio_device_pulse_linux.h101 AudioDeviceModule::AudioLayer& audioLayer) const override;
121 AudioDeviceModule::WindowsDeviceType device) override;
124 AudioDeviceModule::WindowsDeviceType device) override;
198 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
200 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
303 AudioDeviceModule::BufferType _playBufType;
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_generic.h23 AudioDeviceModule::AudioLayer& audioLayer) const = 0;
43 AudioDeviceModule::WindowsDeviceType device) = 0;
46 AudioDeviceModule::WindowsDeviceType device) = 0;
120 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
122 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
Daudio_device_buffer.cc40 _recChannel(AudioDeviceModule::kChannelBoth), in AudioDeviceBuffer()
204 int32_t AudioDeviceBuffer::SetRecordingChannel(const AudioDeviceModule::ChannelType channel) in SetRecordingChannel()
213 if (channel == AudioDeviceModule::kChannelBoth) in SetRecordingChannel()
232 int32_t AudioDeviceBuffer::RecordingChannel(AudioDeviceModule::ChannelType& channel) const in RecordingChannel()
402 if (_recChannel == AudioDeviceModule::kChannelBoth) in SetRecordedBuffer()
412 if (AudioDeviceModule::kChannelRight == _recChannel) in SetRecordedBuffer()
Daudio_device_buffer.h48 const AudioDeviceModule::ChannelType channel);
50 AudioDeviceModule::ChannelType& channel) const;
87 AudioDeviceModule::ChannelType _recChannel;
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_not_implemented_ios.mm18 int32_t AudioDeviceIOS::PlayoutBuffer(AudioDeviceModule::BufferType& type,
25 AudioDeviceModule::AudioLayer& audioLayer) const {
26 audioLayer = AudioDeviceModule::kPlatformDefaultAudio;
115 int32_t AudioDeviceIOS::SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType) {
265 AudioDeviceModule::WindowsDeviceType) {
281 const AudioDeviceModule::BufferType type,
Daudio_device_ios.h85 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
87 int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer) const;
103 AudioDeviceModule::WindowsDeviceType device) override;
106 AudioDeviceModule::WindowsDeviceType device) override;
141 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.h67 AudioDeviceModule::AudioLayer& audioLayer) const;
86 virtual int32_t SetPlayoutDevice(AudioDeviceModule::WindowsDeviceType device);
89 AudioDeviceModule::WindowsDeviceType device);
162 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
164 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
321 AudioDeviceModule::BufferType _playBufType;
/external/webrtc/webrtc/
Daudio_state.h18 class AudioDeviceModule; variable
37 AudioDeviceModule* audio_device_module = nullptr;
/external/webrtc/talk/media/webrtc/
Dwebrtcmediaengine.cc40 WebRtcMediaEngine2(webrtc::AudioDeviceModule* adm, in WebRtcMediaEngine2()
52 webrtc::AudioDeviceModule* adm, in CreateWebRtcMediaEngine()
68 webrtc::AudioDeviceModule* adm, in Create()
Dwebrtcmediaengine.h38 class AudioDeviceModule; variable
50 webrtc::AudioDeviceModule* adm,
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dhardware_test.cc36 webrtc::AudioDeviceModule::kDefaultCommunicationDevice)); in TEST_F()
39 webrtc::AudioDeviceModule::kDefaultCommunicationDevice)); in TEST_F()

123