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

Side by Side Diff: webrtc/modules/audio_device/audio_device_impl.h

Issue 1703833002: Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 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 27 matching lines...) Expand all
38 }; 38 };
39 39
40 int32_t CheckPlatform(); 40 int32_t CheckPlatform();
41 int32_t CreatePlatformSpecificObjects(); 41 int32_t CreatePlatformSpecificObjects();
42 int32_t AttachAudioBuffer(); 42 int32_t AttachAudioBuffer();
43 43
44 AudioDeviceModuleImpl(const int32_t id, const AudioLayer audioLayer); 44 AudioDeviceModuleImpl(const int32_t id, const AudioLayer audioLayer);
45 virtual ~AudioDeviceModuleImpl(); 45 virtual ~AudioDeviceModuleImpl();
46 46
47 int64_t TimeUntilNextProcess() override; 47 int64_t TimeUntilNextProcess() override;
48 int32_t Process() override; 48 void Process() override;
49 49
50 // Factory methods (resource allocation/deallocation) 50 // Factory methods (resource allocation/deallocation)
51 static AudioDeviceModule* Create( 51 static AudioDeviceModule* Create(
52 const int32_t id, 52 const int32_t id,
53 const AudioLayer audioLayer = kPlatformDefaultAudio); 53 const AudioLayer audioLayer = kPlatformDefaultAudio);
54 54
55 // Retrieve the currently utilized audio layer 55 // Retrieve the currently utilized audio layer
56 int32_t ActiveAudioLayer(AudioLayer* audioLayer) const override; 56 int32_t ActiveAudioLayer(AudioLayer* audioLayer) const override;
57 57
58 // Error handling 58 // Error handling
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 PlatformType _platformType; 225 PlatformType _platformType;
226 bool _initialized; 226 bool _initialized;
227 mutable ErrorCode _lastError; 227 mutable ErrorCode _lastError;
228 }; 228 };
229 229
230 } // namespace webrtc 230 } // namespace webrtc
231 231
232 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE) 232 #endif // defined(WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE)
233 233
234 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_ 234 #endif // WEBRTC_MODULES_INTERFACE_AUDIO_DEVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698