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

Side by Side Diff: media/audio/mac/audio_manager_mac.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/fake_audio_manager.cc ('k') | media/audio/mac/audio_manager_mac.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MAC_AUDIO_MANAGER_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
7 7
8 #include <AudioUnit/AudioUnit.h> 8 #include <AudioUnit/AudioUnit.h>
9 #include <CoreAudio/AudioHardware.h> 9 #include <CoreAudio/AudioHardware.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 25 matching lines...) Expand all
36 36
37 // Implementation of AudioManager. 37 // Implementation of AudioManager.
38 bool HasAudioOutputDevices() override; 38 bool HasAudioOutputDevices() override;
39 bool HasAudioInputDevices() override; 39 bool HasAudioInputDevices() override;
40 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; 40 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override;
41 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; 41 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
42 AudioParameters GetInputStreamParameters( 42 AudioParameters GetInputStreamParameters(
43 const std::string& device_id) override; 43 const std::string& device_id) override;
44 std::string GetAssociatedOutputDeviceID( 44 std::string GetAssociatedOutputDeviceID(
45 const std::string& input_device_id) override; 45 const std::string& input_device_id) override;
46 const char* GetName() override;
46 47
47 // Implementation of AudioManagerBase. 48 // Implementation of AudioManagerBase.
48 AudioOutputStream* MakeLinearOutputStream( 49 AudioOutputStream* MakeLinearOutputStream(
49 const AudioParameters& params, 50 const AudioParameters& params,
50 const LogCallback& log_callback) override; 51 const LogCallback& log_callback) override;
51 AudioOutputStream* MakeLowLatencyOutputStream( 52 AudioOutputStream* MakeLowLatencyOutputStream(
52 const AudioParameters& params, 53 const AudioParameters& params,
53 const std::string& device_id, 54 const std::string& device_id,
54 const LogCallback& log_callback) override; 55 const LogCallback& log_callback) override;
55 AudioInputStream* MakeLinearInputStream( 56 AudioInputStream* MakeLinearInputStream(
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // Set to true in the destructor. Ensures that methods that touches native 188 // Set to true in the destructor. Ensures that methods that touches native
188 // Core Audio APIs are not executed during shutdown. 189 // Core Audio APIs are not executed during shutdown.
189 bool in_shutdown_; 190 bool in_shutdown_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac); 192 DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
192 }; 193 };
193 194
194 } // namespace media 195 } // namespace media
195 196
196 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_ 197 #endif // MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/fake_audio_manager.cc ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698