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

Side by Side Diff: media/audio/alsa/audio_manager_alsa.h

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/alsa/alsa_output_unittest.cc ('k') | media/audio/alsa/audio_manager_alsa.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ALSA_AUDIO_MANAGER_ALSA_H_ 5 #ifndef MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_
6 #define MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ 6 #define MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 19 matching lines...) Expand all
30 virtual void GetAudioOutputDeviceNames( 30 virtual void GetAudioOutputDeviceNames(
31 AudioDeviceNames* device_names) OVERRIDE; 31 AudioDeviceNames* device_names) OVERRIDE;
32 virtual AudioParameters GetInputStreamParameters( 32 virtual AudioParameters GetInputStreamParameters(
33 const std::string& device_id) OVERRIDE; 33 const std::string& device_id) OVERRIDE;
34 34
35 // Implementation of AudioManagerBase. 35 // Implementation of AudioManagerBase.
36 virtual AudioOutputStream* MakeLinearOutputStream( 36 virtual AudioOutputStream* MakeLinearOutputStream(
37 const AudioParameters& params) OVERRIDE; 37 const AudioParameters& params) OVERRIDE;
38 virtual AudioOutputStream* MakeLowLatencyOutputStream( 38 virtual AudioOutputStream* MakeLowLatencyOutputStream(
39 const AudioParameters& params, 39 const AudioParameters& params,
40 const std::string& device_id, 40 const std::string& device_id) OVERRIDE;
41 const std::string& input_device_id) OVERRIDE;
42 virtual AudioInputStream* MakeLinearInputStream( 41 virtual AudioInputStream* MakeLinearInputStream(
43 const AudioParameters& params, const std::string& device_id) OVERRIDE; 42 const AudioParameters& params, const std::string& device_id) OVERRIDE;
44 virtual AudioInputStream* MakeLowLatencyInputStream( 43 virtual AudioInputStream* MakeLowLatencyInputStream(
45 const AudioParameters& params, const std::string& device_id) OVERRIDE; 44 const AudioParameters& params, const std::string& device_id) OVERRIDE;
46 45
47 protected: 46 protected:
48 virtual ~AudioManagerAlsa(); 47 virtual ~AudioManagerAlsa();
49 48
50 virtual AudioParameters GetPreferredOutputStreamParameters( 49 virtual AudioParameters GetPreferredOutputStreamParameters(
51 const std::string& output_device_id, 50 const std::string& output_device_id,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const std::string& device_id); 84 const std::string& device_id);
86 85
87 scoped_ptr<AlsaWrapper> wrapper_; 86 scoped_ptr<AlsaWrapper> wrapper_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); 88 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa);
90 }; 89 };
91 90
92 } // namespace media 91 } // namespace media
93 92
94 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ 93 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_
OLDNEW
« no previous file with comments | « media/audio/alsa/alsa_output_unittest.cc ('k') | media/audio/alsa/audio_manager_alsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698