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

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

Issue 16286010: Removed the IsRecordingInProcess check for speech since it is not needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unused error code and relevant resource, cleaned up include Created 7 years, 6 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 | « media/audio/mock_audio_manager.h ('k') | media/audio/win/wavein_input_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "media/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return NULL; 50 return NULL;
51 } 51 }
52 52
53 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( 53 media::AudioInputStream* MockAudioManager::MakeAudioInputStream(
54 const media::AudioParameters& params, 54 const media::AudioParameters& params,
55 const std::string& device_id) { 55 const std::string& device_id) {
56 NOTREACHED(); 56 NOTREACHED();
57 return NULL; 57 return NULL;
58 } 58 }
59 59
60 bool MockAudioManager::IsRecordingInProcess() {
61 return false;
62 }
63
64 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() { 60 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetMessageLoop() {
65 return message_loop_proxy_; 61 return message_loop_proxy_;
66 } 62 }
67 63
68 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetWorkerLoop() { 64 scoped_refptr<base::MessageLoopProxy> MockAudioManager::GetWorkerLoop() {
69 return message_loop_proxy_; 65 return message_loop_proxy_;
70 } 66 }
71 67
72 void MockAudioManager::AddOutputDeviceChangeListener( 68 void MockAudioManager::AddOutputDeviceChangeListener(
73 AudioDeviceListener* listener) { 69 AudioDeviceListener* listener) {
74 } 70 }
75 71
76 void MockAudioManager::RemoveOutputDeviceChangeListener( 72 void MockAudioManager::RemoveOutputDeviceChangeListener(
77 AudioDeviceListener* listener) { 73 AudioDeviceListener* listener) {
78 } 74 }
79 75
80 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() { 76 AudioParameters MockAudioManager::GetDefaultOutputStreamParameters() {
81 return AudioParameters(); 77 return AudioParameters();
82 } 78 }
83 79
84 AudioParameters MockAudioManager::GetInputStreamParameters( 80 AudioParameters MockAudioManager::GetInputStreamParameters(
85 const std::string& device_id) { 81 const std::string& device_id) {
86 return AudioParameters(); 82 return AudioParameters();
87 } 83 }
88 84
89 } // namespace media. 85 } // namespace media.
OLDNEW
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/win/wavein_input_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698