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

Side by Side Diff: media/audio/cras/audio_manager_cras.h

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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/audio_output_proxy_unittest.cc ('k') | media/audio/cras/audio_manager_cras.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_CRAS_AUDIO_MANAGER_CRAS_H_ 5 #ifndef MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_
6 #define MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ 6 #define MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_
7 7
8 #include <cras_types.h> 8 #include <cras_types.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 16 matching lines...) Expand all
27 bool HasAudioOutputDevices() override; 27 bool HasAudioOutputDevices() override;
28 bool HasAudioInputDevices() override; 28 bool HasAudioInputDevices() override;
29 void ShowAudioInputSettings() override; 29 void ShowAudioInputSettings() override;
30 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; 30 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override;
31 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; 31 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
32 AudioParameters GetInputStreamParameters( 32 AudioParameters GetInputStreamParameters(
33 const std::string& device_id) override; 33 const std::string& device_id) override;
34 34
35 // AudioManagerBase implementation. 35 // AudioManagerBase implementation.
36 AudioOutputStream* MakeLinearOutputStream( 36 AudioOutputStream* MakeLinearOutputStream(
37 const AudioParameters& params) override; 37 const AudioParameters& params,
38 const LogCallback& log_callback) override;
38 AudioOutputStream* MakeLowLatencyOutputStream( 39 AudioOutputStream* MakeLowLatencyOutputStream(
39 const AudioParameters& params, 40 const AudioParameters& params,
40 const std::string& device_id) override; 41 const std::string& device_id,
42 const LogCallback& log_callback) override;
41 AudioInputStream* MakeLinearInputStream( 43 AudioInputStream* MakeLinearInputStream(
42 const AudioParameters& params, 44 const AudioParameters& params,
43 const std::string& device_id) override; 45 const std::string& device_id,
46 const LogCallback& log_callback) override;
44 AudioInputStream* MakeLowLatencyInputStream( 47 AudioInputStream* MakeLowLatencyInputStream(
45 const AudioParameters& params, 48 const AudioParameters& params,
46 const std::string& device_id) override; 49 const std::string& device_id,
50 const LogCallback& log_callback) override;
47 51
48 static snd_pcm_format_t BitsToFormat(int bits_per_sample); 52 static snd_pcm_format_t BitsToFormat(int bits_per_sample);
49 53
50 protected: 54 protected:
51 ~AudioManagerCras() override; 55 ~AudioManagerCras() override;
52 56
53 AudioParameters GetPreferredOutputStreamParameters( 57 AudioParameters GetPreferredOutputStreamParameters(
54 const std::string& output_device_id, 58 const std::string& output_device_id,
55 const AudioParameters& input_params) override; 59 const AudioParameters& input_params) override;
56 60
(...skipping 12 matching lines...) Expand all
69 73
70 const char* beamforming_on_device_id_; 74 const char* beamforming_on_device_id_;
71 const char* beamforming_off_device_id_; 75 const char* beamforming_off_device_id_;
72 76
73 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras); 77 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras);
74 }; 78 };
75 79
76 } // namespace media 80 } // namespace media
77 81
78 #endif // MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ 82 #endif // MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_
OLDNEW
« no previous file with comments | « media/audio/audio_output_proxy_unittest.cc ('k') | media/audio/cras/audio_manager_cras.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698