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

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

Issue 2620243003: Removes FATAL() from MicrophoneVolumeIsAvailable() on Android (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 return output_.MinSpeakerVolume(minVolume); 288 return output_.MinSpeakerVolume(minVolume);
289 } 289 }
290 290
291 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override { 291 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override {
292 FATAL() << "Should never be called"; 292 FATAL() << "Should never be called";
293 return -1; 293 return -1;
294 } 294 }
295 295
296 int32_t MicrophoneVolumeIsAvailable(bool& available) override{ 296 int32_t MicrophoneVolumeIsAvailable(bool& available) override{
297 available = false; 297 available = false;
298 FATAL() << "Should never be called";
299 return -1; 298 return -1;
300 } 299 }
301 300
302 int32_t SetMicrophoneVolume(uint32_t volume) override { 301 int32_t SetMicrophoneVolume(uint32_t volume) override {
303 FATAL() << "Should never be called"; 302 FATAL() << "Should never be called";
304 return -1; 303 return -1;
305 } 304 }
306 305
307 int32_t MicrophoneVolume(uint32_t& volume) const override { 306 int32_t MicrophoneVolume(uint32_t& volume) const override {
308 FATAL() << "Should never be called"; 307 FATAL() << "Should never be called";
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 OutputType output_; 554 OutputType output_;
556 555
557 InputType input_; 556 InputType input_;
558 557
559 bool initialized_; 558 bool initialized_;
560 }; 559 };
561 560
562 } // namespace webrtc 561 } // namespace webrtc
563 562
564 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_DEVICE_TEMPLATE_H_ 563 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_DEVICE_TEMPLATE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698