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

Side by Side Diff: media/audio/mac/audio_manager_mac.h

Issue 11028092: Revert 159666 - Use clients' preferred buffer size when the sample rates match and it is a number s… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | « no previous file | media/audio/mac/audio_manager_mac.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_MAC_AUDIO_MANAGER_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "media/audio/audio_manager_base.h" 10 #include "media/audio/audio_manager_base.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // Implementation of AudioManagerBase. 27 // Implementation of AudioManagerBase.
28 virtual AudioOutputStream* MakeLinearOutputStream( 28 virtual AudioOutputStream* MakeLinearOutputStream(
29 const AudioParameters& params) OVERRIDE; 29 const AudioParameters& params) OVERRIDE;
30 virtual AudioOutputStream* MakeLowLatencyOutputStream( 30 virtual AudioOutputStream* MakeLowLatencyOutputStream(
31 const AudioParameters& params) OVERRIDE; 31 const AudioParameters& params) OVERRIDE;
32 virtual AudioInputStream* MakeLinearInputStream( 32 virtual AudioInputStream* MakeLinearInputStream(
33 const AudioParameters& params, const std::string& device_id) OVERRIDE; 33 const AudioParameters& params, const std::string& device_id) OVERRIDE;
34 virtual AudioInputStream* MakeLowLatencyInputStream( 34 virtual AudioInputStream* MakeLowLatencyInputStream(
35 const AudioParameters& params, const std::string& device_id) OVERRIDE; 35 const AudioParameters& params, const std::string& device_id) OVERRIDE;
36 virtual AudioParameters GetPreferredLowLatencyOutputStreamParameters(
37 const AudioParameters& params) OVERRIDE;
38 36
39 protected: 37 protected:
40 virtual ~AudioManagerMac(); 38 virtual ~AudioManagerMac();
41 39
42 private: 40 private:
43 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); 41 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
44 }; 42 };
45 43
46 } // namespace media 44 } // namespace media
47 45
48 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 46 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698