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

Side by Side Diff: media/audio/openbsd/audio_manager_openbsd.cc

Issue 10826174: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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
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/openbsd/audio_manager_openbsd.h" 5 #include "media/audio/openbsd/audio_manager_openbsd.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "media/audio/audio_output_dispatcher.h" 9 #include "media/audio/audio_output_dispatcher.h"
10 #if defined(USE_PULSEAUDIO) 10 #if defined(USE_PULSEAUDIO)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 49
50 AudioManagerOpenBSD::~AudioManagerOpenBSD() { 50 AudioManagerOpenBSD::~AudioManagerOpenBSD() {
51 Shutdown(); 51 Shutdown();
52 } 52 }
53 53
54 void AudioManagerOpenBSD::Init() { 54 void AudioManagerOpenBSD::Init() {
55 AudioManagerBase::Init(); 55 AudioManagerBase::Init();
56 } 56 }
57 57
58 void AudioManagerOpenBSD::MuteAll() {
59 NOTIMPLEMENTED();
60 }
61
62 void AudioManagerOpenBSD::UnMuteAll() {
63 NOTIMPLEMENTED();
64 }
65
66 AudioOutputStream* AudioManagerOpenBSD::MakeLinearOutputStream( 58 AudioOutputStream* AudioManagerOpenBSD::MakeLinearOutputStream(
67 const AudioParameters& params) { 59 const AudioParameters& params) {
68 DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format); 60 DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format);
69 return MakeOutputStream(params); 61 return MakeOutputStream(params);
70 } 62 }
71 63
72 AudioOutputStream* AudioManagerOpenBSD::MakeLowLatencyOutputStream( 64 AudioOutputStream* AudioManagerOpenBSD::MakeLowLatencyOutputStream(
73 const AudioParameters& params) { 65 const AudioParameters& params) {
74 DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format); 66 DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format);
75 return MakeOutputStream(params); 67 return MakeOutputStream(params);
(...skipping 24 matching lines...) Expand all
100 NOTIMPLEMENTED(); 92 NOTIMPLEMENTED();
101 return NULL; 93 return NULL;
102 } 94 }
103 95
104 // static 96 // static
105 AudioManager* CreateAudioManager() { 97 AudioManager* CreateAudioManager() {
106 return new AudioManagerOpenBSD(); 98 return new AudioManagerOpenBSD();
107 } 99 }
108 100
109 } // namespace media 101 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/openbsd/audio_manager_openbsd.h ('k') | media/audio/test_audio_input_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698