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

Side by Side Diff: webrtc/modules/audio_device/linux/audio_device_alsa_linux.h

Issue 2103863004: UMA log for audio_device Init and Start(Playout|Recording). Make Init return a more specific error … (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rename variable. Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 23 matching lines...) Expand all
34 { 34 {
35 public: 35 public:
36 AudioDeviceLinuxALSA(const int32_t id); 36 AudioDeviceLinuxALSA(const int32_t id);
37 virtual ~AudioDeviceLinuxALSA(); 37 virtual ~AudioDeviceLinuxALSA();
38 38
39 // Retrieve the currently utilized audio layer 39 // Retrieve the currently utilized audio layer
40 int32_t ActiveAudioLayer( 40 int32_t ActiveAudioLayer(
41 AudioDeviceModule::AudioLayer& audioLayer) const override; 41 AudioDeviceModule::AudioLayer& audioLayer) const override;
42 42
43 // Main initializaton and termination 43 // Main initializaton and termination
44 int32_t Init() override; 44 InitStatus Init() override;
45 int32_t Terminate() override; 45 int32_t Terminate() override;
46 bool Initialized() const override; 46 bool Initialized() const override;
47 47
48 // Device enumeration 48 // Device enumeration
49 int16_t PlayoutDevices() override; 49 int16_t PlayoutDevices() override;
50 int16_t RecordingDevices() override; 50 int16_t RecordingDevices() override;
51 int32_t PlayoutDeviceName(uint16_t index, 51 int32_t PlayoutDeviceName(uint16_t index,
52 char name[kAdmMaxDeviceNameSize], 52 char name[kAdmMaxDeviceNameSize],
53 char guid[kAdmMaxGuidSize]) override; 53 char guid[kAdmMaxGuidSize]) override;
54 int32_t RecordingDeviceName(uint16_t index, 54 int32_t RecordingDeviceName(uint16_t index,
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 char _oldKeyState[32]; 248 char _oldKeyState[32];
249 #if defined(USE_X11) 249 #if defined(USE_X11)
250 Display* _XDisplay; 250 Display* _XDisplay;
251 #endif 251 #endif
252 }; 252 };
253 253
254 } 254 }
255 255
256 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_ 256 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698