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

Side by Side Diff: chromeos/audio/mock_cras_audio_handler.cc

Issue 14678004: cros: Enable new cras audio handler by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix. Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/audio/mock_cras_audio_handler.h ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromeos/audio/mock_cras_audio_handler.h"
6
7 #include "chromeos/audio/audio_pref_handler.h"
8
9 namespace chromeos {
10
11 void MockCrasAudioHandler::AddAudioObserver(AudioObserver* observer) {
12 }
13
14 void MockCrasAudioHandler::RemoveAudioObserver(AudioObserver* observer) {
15 }
16
17 bool MockCrasAudioHandler::IsOutputMuted() {
18 return false;
19 }
20
21 bool MockCrasAudioHandler::IsInputMuted() {
22 return false;
23 }
24
25 int MockCrasAudioHandler::GetOutputVolumePercent() {
26 return 0;
27 }
28
29 uint64 MockCrasAudioHandler::GetActiveOutputNode() const {
30 return 0;
31 }
32
33 uint64 MockCrasAudioHandler::GetActiveInputNode() const {
34 return 0;
35 }
36
37 void MockCrasAudioHandler::GetAudioDevices(AudioDeviceList* device_list) const {
38 }
39
40 bool MockCrasAudioHandler::GetActiveOutputDevice(AudioDevice* device) const {
41 return false;
42 }
43
44 bool MockCrasAudioHandler::has_alternative_input() const {
45 return false;
46 }
47
48 bool MockCrasAudioHandler::has_alternative_output() const {
49 return false;
50 }
51
52 void MockCrasAudioHandler::SetOutputVolumePercent(int volume_percent) {
53 }
54
55 void MockCrasAudioHandler::AdjustOutputVolumeByPercent(int adjust_by_percent) {
56 }
57
58 void MockCrasAudioHandler::SetOutputMute(bool mute_on) {
59 }
60
61 void MockCrasAudioHandler::SetInputMute(bool mute_on) {
62 }
63
64 void MockCrasAudioHandler::SetActiveOutputNode(uint64 node_id) {
65 }
66
67 void MockCrasAudioHandler::SetActiveInputNode(uint64 node_id) {
68 }
69
70 MockCrasAudioHandler::MockCrasAudioHandler() : CrasAudioHandler(NULL) {
71 }
72
73 MockCrasAudioHandler::~MockCrasAudioHandler() {
74 }
75
76 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/audio/mock_cras_audio_handler.h ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698