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

Side by Side Diff: webrtc/modules/audio_device/ios/audio_device_ios.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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class AudioDeviceIOS : public AudioDeviceGeneric, 42 class AudioDeviceIOS : public AudioDeviceGeneric,
43 public AudioSessionObserver, 43 public AudioSessionObserver,
44 public VoiceProcessingAudioUnitObserver, 44 public VoiceProcessingAudioUnitObserver,
45 public rtc::MessageHandler { 45 public rtc::MessageHandler {
46 public: 46 public:
47 AudioDeviceIOS(); 47 AudioDeviceIOS();
48 ~AudioDeviceIOS(); 48 ~AudioDeviceIOS();
49 49
50 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override; 50 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override;
51 51
52 int32_t Init() override; 52 InitStatus Init() override;
53 int32_t Terminate() override; 53 int32_t Terminate() override;
54 bool Initialized() const override { return initialized_; } 54 bool Initialized() const override { return initialized_; }
55 55
56 int32_t InitPlayout() override; 56 int32_t InitPlayout() override;
57 bool PlayoutIsInitialized() const override { return play_is_initialized_; } 57 bool PlayoutIsInitialized() const override { return play_is_initialized_; }
58 58
59 int32_t InitRecording() override; 59 int32_t InitRecording() override;
60 bool RecordingIsInitialized() const override { return rec_is_initialized_; } 60 bool RecordingIsInitialized() const override { return rec_is_initialized_; }
61 61
62 int32_t StartPlayout() override; 62 int32_t StartPlayout() override;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // Audio interruption observer instance. 292 // Audio interruption observer instance.
293 RTCAudioSessionDelegateAdapter* audio_session_observer_; 293 RTCAudioSessionDelegateAdapter* audio_session_observer_;
294 294
295 // Set to true if we've activated the audio session. 295 // Set to true if we've activated the audio session.
296 bool has_configured_session_; 296 bool has_configured_session_;
297 }; 297 };
298 298
299 } // namespace webrtc 299 } // namespace webrtc
300 300
301 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_ 301 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_DEVICE_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698