Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: webrtc/modules/audio_device/audio_device_data_observer.cc

Issue 3006793002: Removes unused WaveOut APIs from ADM (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 return impl_->RecordingIsInitialized(); 172 return impl_->RecordingIsInitialized();
173 } 173 }
174 int32_t StartPlayout() override { return impl_->StartPlayout(); } 174 int32_t StartPlayout() override { return impl_->StartPlayout(); }
175 int32_t StopPlayout() override { return impl_->StopPlayout(); } 175 int32_t StopPlayout() override { return impl_->StopPlayout(); }
176 bool Playing() const override { return impl_->Playing(); } 176 bool Playing() const override { return impl_->Playing(); }
177 int32_t StartRecording() override { return impl_->StartRecording(); } 177 int32_t StartRecording() override { return impl_->StartRecording(); }
178 int32_t StopRecording() override { return impl_->StopRecording(); } 178 int32_t StopRecording() override { return impl_->StopRecording(); }
179 bool Recording() const override { return impl_->Recording(); } 179 bool Recording() const override { return impl_->Recording(); }
180 int32_t SetAGC(bool enable) override { return impl_->SetAGC(enable); } 180 int32_t SetAGC(bool enable) override { return impl_->SetAGC(enable); }
181 bool AGC() const override { return impl_->AGC(); } 181 bool AGC() const override { return impl_->AGC(); }
182 int32_t SetWaveOutVolume(uint16_t volume_left,
183 uint16_t volume_right) override {
184 return impl_->SetWaveOutVolume(volume_left, volume_right);
185 }
186 int32_t WaveOutVolume(uint16_t* volume_left,
187 uint16_t* volume_right) const override {
188 return impl_->WaveOutVolume(volume_left, volume_right);
189 }
190 int32_t InitSpeaker() override { return impl_->InitSpeaker(); } 182 int32_t InitSpeaker() override { return impl_->InitSpeaker(); }
191 bool SpeakerIsInitialized() const override { 183 bool SpeakerIsInitialized() const override {
192 return impl_->SpeakerIsInitialized(); 184 return impl_->SpeakerIsInitialized();
193 } 185 }
194 int32_t InitMicrophone() override { return impl_->InitMicrophone(); } 186 int32_t InitMicrophone() override { return impl_->InitMicrophone(); }
195 bool MicrophoneIsInitialized() const override { 187 bool MicrophoneIsInitialized() const override {
196 return impl_->MicrophoneIsInitialized(); 188 return impl_->MicrophoneIsInitialized();
197 } 189 }
198 int32_t SpeakerVolumeIsAvailable(bool* available) override { 190 int32_t SpeakerVolumeIsAvailable(bool* available) override {
199 return impl_->SpeakerVolumeIsAvailable(available); 191 return impl_->SpeakerVolumeIsAvailable(available);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 new rtc::RefCountedObject<ADMWrapper>(id, audio_layer, observer)); 367 new rtc::RefCountedObject<ADMWrapper>(id, audio_layer, observer));
376 368
377 if (!audio_device->IsValid()) { 369 if (!audio_device->IsValid()) {
378 return nullptr; 370 return nullptr;
379 } 371 }
380 372
381 return audio_device; 373 return audio_device;
382 } 374 }
383 375
384 } // namespace webrtc 376 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698