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

Side by Side Diff: webrtc/modules/audio_device/ios/audio_device_ios.h

Issue 1999723002: Fix iOS GN build and cleanup system_wrappers (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Renamed to atomic32_non_darwin_unix.cc due to _android suffix filtering Created 4 years, 6 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Native audio parameters stored during construction. 85 // Native audio parameters stored during construction.
86 // These methods are unique for the iOS implementation. 86 // These methods are unique for the iOS implementation.
87 int GetPlayoutAudioParameters(AudioParameters* params) const override; 87 int GetPlayoutAudioParameters(AudioParameters* params) const override;
88 int GetRecordAudioParameters(AudioParameters* params) const override; 88 int GetRecordAudioParameters(AudioParameters* params) const override;
89 89
90 // These methods are currently not fully implemented on iOS: 90 // These methods are currently not fully implemented on iOS:
91 91
92 // See audio_device_not_implemented.cc for trivial implementations. 92 // See audio_device_not_implemented.cc for trivial implementations.
93 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type, 93 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
94 uint16_t& sizeMS) const override; 94 uint16_t& sizeMS) const override;
95 int32_t ActiveAudioLayer(AudioDeviceModule::AudioLayer& audioLayer) const; 95 int32_t ActiveAudioLayer(
96 AudioDeviceModule::AudioLayer& audioLayer) const override;
96 int32_t ResetAudioDevice() override; 97 int32_t ResetAudioDevice() override;
97 int32_t PlayoutIsAvailable(bool& available) override; 98 int32_t PlayoutIsAvailable(bool& available) override;
98 int32_t RecordingIsAvailable(bool& available) override; 99 int32_t RecordingIsAvailable(bool& available) override;
99 int32_t SetAGC(bool enable) override; 100 int32_t SetAGC(bool enable) override;
100 bool AGC() const override; 101 bool AGC() const override;
101 int16_t PlayoutDevices() override; 102 int16_t PlayoutDevices() override;
102 int16_t RecordingDevices() override; 103 int16_t RecordingDevices() override;
103 int32_t PlayoutDeviceName(uint16_t index, 104 int32_t PlayoutDeviceName(uint16_t index,
104 char name[kAdmMaxDeviceNameSize], 105 char name[kAdmMaxDeviceNameSize],
105 char guid[kAdmMaxGuidSize]) override; 106 char guid[kAdmMaxGuidSize]) override;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // Audio interruption observer instance. 292 // Audio interruption observer instance.
292 RTCAudioSessionDelegateAdapter* audio_session_observer_; 293 RTCAudioSessionDelegateAdapter* audio_session_observer_;
293 294
294 // Set to true if we've activated the audio session. 295 // Set to true if we've activated the audio session.
295 bool has_configured_session_; 296 bool has_configured_session_;
296 }; 297 };
297 298
298 } // namespace webrtc 299 } // namespace webrtc
299 300
300 #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