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

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

Issue 2023943002: Revert of Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 bool HasAudioOutputDevices() override; 31 bool HasAudioOutputDevices() override;
32 bool HasAudioInputDevices() override; 32 bool HasAudioInputDevices() override;
33 void ShowAudioInputSettings() override; 33 void ShowAudioInputSettings() override;
34 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; 34 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override;
35 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; 35 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
36 AudioParameters GetInputStreamParameters( 36 AudioParameters GetInputStreamParameters(
37 const std::string& device_id) override; 37 const std::string& device_id) override;
38 38
39 // Implementation of AudioManagerBase. 39 // Implementation of AudioManagerBase.
40 AudioOutputStream* MakeLinearOutputStream( 40 AudioOutputStream* MakeLinearOutputStream(
41 const AudioParameters& params, 41 const AudioParameters& params) override;
42 const LogCallback& log_callback) override;
43 AudioOutputStream* MakeLowLatencyOutputStream( 42 AudioOutputStream* MakeLowLatencyOutputStream(
44 const AudioParameters& params, 43 const AudioParameters& params,
45 const std::string& device_id, 44 const std::string& device_id) override;
46 const LogCallback& log_callback) override;
47 AudioInputStream* MakeLinearInputStream( 45 AudioInputStream* MakeLinearInputStream(
48 const AudioParameters& params, 46 const AudioParameters& params,
49 const std::string& device_id, 47 const std::string& device_id) override;
50 const LogCallback& log_callback) override;
51 AudioInputStream* MakeLowLatencyInputStream( 48 AudioInputStream* MakeLowLatencyInputStream(
52 const AudioParameters& params, 49 const AudioParameters& params,
53 const std::string& device_id, 50 const std::string& device_id) override;
54 const LogCallback& log_callback) override;
55 51
56 protected: 52 protected:
57 ~AudioManagerAlsa() override; 53 ~AudioManagerAlsa() override;
58 54
59 AudioParameters GetPreferredOutputStreamParameters( 55 AudioParameters GetPreferredOutputStreamParameters(
60 const std::string& output_device_id, 56 const std::string& output_device_id,
61 const AudioParameters& input_params) override; 57 const AudioParameters& input_params) override;
62 58
63 private: 59 private:
64 enum StreamType { 60 enum StreamType {
(...skipping 29 matching lines...) Expand all
94 const std::string& device_id); 90 const std::string& device_id);
95 91
96 std::unique_ptr<AlsaWrapper> wrapper_; 92 std::unique_ptr<AlsaWrapper> wrapper_;
97 93
98 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); 94 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa);
99 }; 95 };
100 96
101 } // namespace media 97 } // namespace media
102 98
103 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ 99 #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