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

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

Issue 2538793002: Log audio system used to WebRTC log. (Closed)
Patch Set: Code review. Created 4 years 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 13 matching lines...) Expand all
24 AudioLogFactory* audio_log_factory); 24 AudioLogFactory* audio_log_factory);
25 25
26 // AudioManager implementation. 26 // AudioManager implementation.
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 const char* GetName() override;
34 35
35 // AudioManagerBase implementation. 36 // AudioManagerBase implementation.
36 AudioOutputStream* MakeLinearOutputStream( 37 AudioOutputStream* MakeLinearOutputStream(
37 const AudioParameters& params, 38 const AudioParameters& params,
38 const LogCallback& log_callback) override; 39 const LogCallback& log_callback) override;
39 AudioOutputStream* MakeLowLatencyOutputStream( 40 AudioOutputStream* MakeLowLatencyOutputStream(
40 const AudioParameters& params, 41 const AudioParameters& params,
41 const std::string& device_id, 42 const std::string& device_id,
42 const LogCallback& log_callback) override; 43 const LogCallback& log_callback) override;
43 AudioInputStream* MakeLinearInputStream( 44 AudioInputStream* MakeLinearInputStream(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 76
76 const char* beamforming_on_device_id_; 77 const char* beamforming_on_device_id_;
77 const char* beamforming_off_device_id_; 78 const char* beamforming_off_device_id_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras); 80 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras);
80 }; 81 };
81 82
82 } // namespace media 83 } // namespace media
83 84
84 #endif // MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ 85 #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