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

Side by Side Diff: media/audio/mock_audio_manager.cc

Issue 23523023: Add GetOutputStreamParameters, GetAssociatedOutputDeviceID to AudioManager. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/mock_audio_manager.h" 5 #include "media/audio/mock_audio_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "media/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 void MockAudioManager::RemoveOutputDeviceChangeListener( 74 void MockAudioManager::RemoveOutputDeviceChangeListener(
75 AudioDeviceListener* listener) { 75 AudioDeviceListener* listener) {
76 } 76 }
77 77
78 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { 78 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() {
79 return AudioParameters(); 79 return AudioParameters();
80 } 80 }
81 81
82 AudioParameters MockAudioManager::GetOutputStreamParameters(
83 const std::string& device_id) {
84 return AudioParameters();
85 }
86
82 AudioParameters MockAudioManager::GetInputStreamParameters( 87 AudioParameters MockAudioManager::GetInputStreamParameters(
83 const std::string& device_id) { 88 const std::string& device_id) {
84 return AudioParameters(); 89 return AudioParameters();
85 } 90 }
86 91
92 std::string MockAudioManager::GetAssociatedOutputDeviceID(
93 const std::string& input_device_id) {
94 return std::string();
95 }
96
87 } // namespace media. 97 } // namespace media.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698