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

Side by Side Diff: media/audio/win/audio_manager_win.h

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
« no previous file with comments | « media/audio/test_audio_input_controller_factory.h ('k') | media/audio/win/audio_manager_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 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ 5 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_
6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ 6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "media/audio/audio_manager_base.h" 14 #include "media/audio/audio_manager_base.h"
15 15
16 namespace media { 16 namespace media {
17 17
18 // Windows implementation of the AudioManager singleton. This class is internal 18 // Windows implementation of the AudioManager singleton. This class is internal
19 // to the audio output and only internal users can call methods not exposed by 19 // to the audio output and only internal users can call methods not exposed by
20 // the AudioManager class. 20 // the AudioManager class.
21 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase { 21 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase {
22 public: 22 public:
23 AudioManagerWin(); 23 AudioManagerWin();
24 // Implementation of AudioManager. 24 // Implementation of AudioManager.
25 virtual bool HasAudioOutputDevices() OVERRIDE; 25 virtual bool HasAudioOutputDevices() OVERRIDE;
26 virtual bool HasAudioInputDevices() OVERRIDE; 26 virtual bool HasAudioInputDevices() OVERRIDE;
27 virtual void MuteAll() OVERRIDE;
28 virtual void UnMuteAll() OVERRIDE;
29 virtual string16 GetAudioInputDeviceModel() OVERRIDE; 27 virtual string16 GetAudioInputDeviceModel() OVERRIDE;
30 virtual bool CanShowAudioInputSettings() OVERRIDE; 28 virtual bool CanShowAudioInputSettings() OVERRIDE;
31 virtual void ShowAudioInputSettings() OVERRIDE; 29 virtual void ShowAudioInputSettings() OVERRIDE;
32 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) 30 virtual void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names)
33 OVERRIDE; 31 OVERRIDE;
34 32
35 // Implementation of AudioManagerBase. 33 // Implementation of AudioManagerBase.
36 virtual AudioOutputStream* MakeLinearOutputStream( 34 virtual AudioOutputStream* MakeLinearOutputStream(
37 const AudioParameters& params) OVERRIDE; 35 const AudioParameters& params) OVERRIDE;
38 virtual AudioOutputStream* MakeLowLatencyOutputStream( 36 virtual AudioOutputStream* MakeLowLatencyOutputStream(
(...skipping 30 matching lines...) Expand all
69 AudioInputStream* CreatePCMWaveInAudioInputStream( 67 AudioInputStream* CreatePCMWaveInAudioInputStream(
70 const AudioParameters& params, 68 const AudioParameters& params,
71 const std::string& device_id); 69 const std::string& device_id);
72 70
73 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); 71 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin);
74 }; 72 };
75 73
76 } // namespace media 74 } // namespace media
77 75
78 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ 76 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « media/audio/test_audio_input_controller_factory.h ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698