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

Side by Side Diff: media/audio/pulse/audio_manager_pulse.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/mock_audio_manager.cc ('k') | media/audio/pulse/audio_manager_pulse.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_PULSE_AUDIO_MANAGER_PULSE_H_ 5 #ifndef MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_
6 #define MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ 6 #define MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_
7 7
8 #include <pulse/pulseaudio.h> 8 #include <pulse/pulseaudio.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 bool HasAudioOutputDevices() override; 28 bool HasAudioOutputDevices() override;
29 bool HasAudioInputDevices() override; 29 bool HasAudioInputDevices() override;
30 void ShowAudioInputSettings() override; 30 void ShowAudioInputSettings() override;
31 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; 31 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override;
32 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; 32 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
33 AudioParameters GetInputStreamParameters( 33 AudioParameters GetInputStreamParameters(
34 const std::string& device_id) override; 34 const std::string& device_id) override;
35 35
36 // Implementation of AudioManagerBase. 36 // Implementation of AudioManagerBase.
37 AudioOutputStream* MakeLinearOutputStream( 37 AudioOutputStream* MakeLinearOutputStream(
38 const AudioParameters& params, 38 const AudioParameters& params) override;
39 const LogCallback& log_callback) override;
40 AudioOutputStream* MakeLowLatencyOutputStream( 39 AudioOutputStream* MakeLowLatencyOutputStream(
41 const AudioParameters& params, 40 const AudioParameters& params,
42 const std::string& device_id, 41 const std::string& device_id) override;
43 const LogCallback& log_callback) override;
44 AudioInputStream* MakeLinearInputStream( 42 AudioInputStream* MakeLinearInputStream(
45 const AudioParameters& params, 43 const AudioParameters& params,
46 const std::string& device_id, 44 const std::string& device_id) override;
47 const LogCallback& log_callback) override;
48 AudioInputStream* MakeLowLatencyInputStream( 45 AudioInputStream* MakeLowLatencyInputStream(
49 const AudioParameters& params, 46 const AudioParameters& params,
50 const std::string& device_id, 47 const std::string& device_id) override;
51 const LogCallback& log_callback) override;
52 48
53 protected: 49 protected:
54 ~AudioManagerPulse() override; 50 ~AudioManagerPulse() override;
55 51
56 AudioParameters GetPreferredOutputStreamParameters( 52 AudioParameters GetPreferredOutputStreamParameters(
57 const std::string& output_device_id, 53 const std::string& output_device_id,
58 const AudioParameters& input_params) override; 54 const AudioParameters& input_params) override;
59 55
60 private: 56 private:
61 bool InitPulse(); 57 bool InitPulse();
(...skipping 30 matching lines...) Expand all
92 pa_context* input_context_; 88 pa_context* input_context_;
93 AudioDeviceNames* devices_; 89 AudioDeviceNames* devices_;
94 int native_input_sample_rate_; 90 int native_input_sample_rate_;
95 91
96 DISALLOW_COPY_AND_ASSIGN(AudioManagerPulse); 92 DISALLOW_COPY_AND_ASSIGN(AudioManagerPulse);
97 }; 93 };
98 94
99 } // namespace media 95 } // namespace media
100 96
101 #endif // MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_ 97 #endif // MEDIA_AUDIO_PULSE_AUDIO_MANAGER_PULSE_H_
OLDNEW
« no previous file with comments | « media/audio/mock_audio_manager.cc ('k') | media/audio/pulse/audio_manager_pulse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698