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

Side by Side Diff: webrtc/modules/audio_device/android/audio_device_template.h

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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 FATAL() << "Should never be called"; 224 FATAL() << "Should never be called";
225 } 225 }
226 return -1; 226 return -1;
227 } 227 }
228 228
229 bool AGC() const override { 229 bool AGC() const override {
230 LOG(INFO) << __FUNCTION__; 230 LOG(INFO) << __FUNCTION__;
231 return false; 231 return false;
232 } 232 }
233 233
234 int32_t SetWaveOutVolume(
235 uint16_t volumeLeft, uint16_t volumeRight) override {
236 FATAL() << "Should never be called";
237 return -1;
238 }
239
240 int32_t WaveOutVolume(
241 uint16_t& volumeLeft, uint16_t& volumeRight) const override {
242 FATAL() << "Should never be called";
243 return -1;
244 }
245
246 int32_t InitSpeaker() override { 234 int32_t InitSpeaker() override {
247 LOG(INFO) << __FUNCTION__; 235 LOG(INFO) << __FUNCTION__;
248 return 0; 236 return 0;
249 } 237 }
250 238
251 bool SpeakerIsInitialized() const override { 239 bool SpeakerIsInitialized() const override {
252 LOG(INFO) << __FUNCTION__; 240 LOG(INFO) << __FUNCTION__;
253 return true; 241 return true;
254 } 242 }
255 243
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 OutputType output_; 544 OutputType output_;
557 545
558 InputType input_; 546 InputType input_;
559 547
560 bool initialized_; 548 bool initialized_;
561 }; 549 };
562 550
563 } // namespace webrtc 551 } // namespace webrtc
564 552
565 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_DEVICE_TEMPLATE_H_ 553 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_DEVICE_TEMPLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698