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

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

Issue 163343002: Reland 153623004: Remove the unified IO code on the browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the cras bot Created 6 years, 10 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/openbsd/audio_manager_openbsd.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/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 10
(...skipping 29 matching lines...) Expand all
40 device_names->push_back(media::AudioDeviceName("fake_device_name_2", 40 device_names->push_back(media::AudioDeviceName("fake_device_name_2",
41 "fake_device_id_2")); 41 "fake_device_id_2"));
42 } 42 }
43 43
44 void MockAudioManager::GetAudioOutputDeviceNames( 44 void MockAudioManager::GetAudioOutputDeviceNames(
45 AudioDeviceNames* device_names) { 45 AudioDeviceNames* device_names) {
46 } 46 }
47 47
48 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream( 48 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStream(
49 const media::AudioParameters& params, 49 const media::AudioParameters& params,
50 const std::string& device_id, 50 const std::string& device_id) {
51 const std::string& input_device_id) {
52 NOTREACHED(); 51 NOTREACHED();
53 return NULL; 52 return NULL;
54 } 53 }
55 54
56 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy( 55 media::AudioOutputStream* MockAudioManager::MakeAudioOutputStreamProxy(
57 const media::AudioParameters& params, 56 const media::AudioParameters& params,
58 const std::string& device_id, 57 const std::string& device_id) {
59 const std::string& input_device_id) {
60 NOTREACHED(); 58 NOTREACHED();
61 return NULL; 59 return NULL;
62 } 60 }
63 61
64 media::AudioInputStream* MockAudioManager::MakeAudioInputStream( 62 media::AudioInputStream* MockAudioManager::MakeAudioInputStream(
65 const media::AudioParameters& params, 63 const media::AudioParameters& params,
66 const std::string& device_id) { 64 const std::string& device_id) {
67 NOTREACHED(); 65 NOTREACHED();
68 return NULL; 66 return NULL;
69 } 67 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 103 }
106 104
107 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog( 105 scoped_ptr<AudioLog> MockAudioManager::CreateAudioLog(
108 AudioLogFactory::AudioComponent component) { 106 AudioLogFactory::AudioComponent component) {
109 return scoped_ptr<AudioLog>(); 107 return scoped_ptr<AudioLog>();
110 } 108 }
111 109
112 void MockAudioManager::FixWedgedAudio() {} 110 void MockAudioManager::FixWedgedAudio() {}
113 111
114 } // namespace media. 112 } // namespace media.
OLDNEW
« no previous file with comments | « media/audio/mock_audio_manager.h ('k') | media/audio/openbsd/audio_manager_openbsd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698