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

Side by Side Diff: media/audio/alsa/audio_manager_alsa.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 | « chromecast/media/audio/cast_audio_manager.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 17 matching lines...) Expand all
28 static void ShowLinuxAudioInputSettings(); 28 static void ShowLinuxAudioInputSettings();
29 29
30 // Implementation of AudioManager. 30 // Implementation of AudioManager.
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 const char* GetName() override;
38 39
39 // Implementation of AudioManagerBase. 40 // Implementation of AudioManagerBase.
40 AudioOutputStream* MakeLinearOutputStream( 41 AudioOutputStream* MakeLinearOutputStream(
41 const AudioParameters& params, 42 const AudioParameters& params,
42 const LogCallback& log_callback) override; 43 const LogCallback& log_callback) override;
43 AudioOutputStream* MakeLowLatencyOutputStream( 44 AudioOutputStream* MakeLowLatencyOutputStream(
44 const AudioParameters& params, 45 const AudioParameters& params,
45 const std::string& device_id, 46 const std::string& device_id,
46 const LogCallback& log_callback) override; 47 const LogCallback& log_callback) override;
47 AudioInputStream* MakeLinearInputStream( 48 AudioInputStream* MakeLinearInputStream(
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const std::string& device_id); 94 const std::string& device_id);
94 95
95 std::unique_ptr<AlsaWrapper> wrapper_; 96 std::unique_ptr<AlsaWrapper> wrapper_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa); 98 DISALLOW_COPY_AND_ASSIGN(AudioManagerAlsa);
98 }; 99 };
99 100
100 } // namespace media 101 } // namespace media
101 102
102 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_ 103 #endif // MEDIA_AUDIO_ALSA_AUDIO_MANAGER_ALSA_H_
OLDNEW
« no previous file with comments | « chromecast/media/audio/cast_audio_manager.cc ('k') | media/audio/alsa/audio_manager_alsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698