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

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

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/win/audio_low_latency_output_win.cc ('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 {
17
16 // Windows implementation of the AudioManager singleton. This class is internal 18 // Windows implementation of the AudioManager singleton. This class is internal
17 // 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
18 // the AudioManager class. 20 // the AudioManager class.
19 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase { 21 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase {
20 public: 22 public:
21 AudioManagerWin(); 23 AudioManagerWin();
22 // Implementation of AudioManager. 24 // Implementation of AudioManager.
23 virtual bool HasAudioOutputDevices() OVERRIDE; 25 virtual bool HasAudioOutputDevices() OVERRIDE;
24 virtual bool HasAudioInputDevices() OVERRIDE; 26 virtual bool HasAudioInputDevices() OVERRIDE;
25 virtual void MuteAll() OVERRIDE; 27 virtual void MuteAll() OVERRIDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // necessary. 66 // necessary.
65 // (Please see device_enumeration_win.h for more info about the two kinds of 67 // (Please see device_enumeration_win.h for more info about the two kinds of
66 // device IDs.) 68 // device IDs.)
67 AudioInputStream* CreatePCMWaveInAudioInputStream( 69 AudioInputStream* CreatePCMWaveInAudioInputStream(
68 const AudioParameters& params, 70 const AudioParameters& params,
69 const std::string& device_id); 71 const std::string& device_id);
70 72
71 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); 73 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin);
72 }; 74 };
73 75
76 } // namespace media
77
74 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ 78 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « media/audio/win/audio_low_latency_output_win.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698