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

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

Issue 2023943002: Revert of Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/pulse/audio_manager_pulse.h » ('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/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "media/base/audio_parameters.h" 9 #include "media/base/audio_parameters.h"
10 10
(...skipping 26 matching lines...) Expand all
37 // Do not inject fake devices here, use 37 // Do not inject fake devices here, use
38 // AudioInputDeviceManager::GetFakeDeviceNames() instead. 38 // AudioInputDeviceManager::GetFakeDeviceNames() instead.
39 } 39 }
40 40
41 void MockAudioManager::GetAudioOutputDeviceNames( 41 void MockAudioManager::GetAudioOutputDeviceNames(
42 AudioDeviceNames* device_names) { 42 AudioDeviceNames* device_names) {
43 } 43 }
44 44
45 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( 45 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream(
46 const media::AudioParameters& params, 46 const media::AudioParameters& params,
47 const std::string& device_id, 47 const std::string& device_id) {
48 const LogCallback& log_callback) {
49 NOTREACHED(); 48 NOTREACHED();
50 return NULL; 49 return NULL;
51 } 50 }
52 51
53 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( 52 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy(
54 const media::AudioParameters& params, 53 const media::AudioParameters& params,
55 const std::string& device_id) { 54 const std::string& device_id) {
56 NOTREACHED(); 55 NOTREACHED();
57 return NULL; 56 return NULL;
58 } 57 }
59 58
60 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( 59 media::AudioInputStream* MockAudioManager::MakeAudioInputStream(
61 const media::AudioParameters& params, 60 const media::AudioParameters& params,
62 const std::string& device_id, 61 const std::string& device_id) {
63 const LogCallback& log_callback) {
64 NOTREACHED(); 62 NOTREACHED();
65 return NULL; 63 return NULL;
66 } 64 }
67 65
68 void MockAudioManager::AddOutputDeviceChangeListener( 66 void MockAudioManager::AddOutputDeviceChangeListener(
69 AudioDeviceListener* listener) { 67 AudioDeviceListener* listener) {
70 } 68 }
71 69
72 void MockAudioManager::RemoveOutputDeviceChangeListener( 70 void MockAudioManager::RemoveOutputDeviceChangeListener(
73 AudioDeviceListener* listener) { 71 AudioDeviceListener* listener) {
(...skipping 17 matching lines...) Expand all
91 const std::string& input_device_id) { 89 const std::string& input_device_id) {
92 return std::string(); 90 return std::string();
93 } 91 }
94 92
95 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog( 93 std::unique_ptr<AudioLog> MockAudioManager::CreateAudioLog(
96 AudioLogFactory::AudioComponent component) { 94 AudioLogFactory::AudioComponent component) {
97 return nullptr; 95 return nullptr;
98 } 96 }
99 97
100 } // namespace media. 98 } // namespace media.
OLDNEW
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/pulse/audio_manager_pulse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698