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

Side by Side Diff: webrtc/modules/audio_device/win/audio_device_core_win.h

Issue 2222563002: Fix warnings, simplify ADM. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix IOS compile. Created 4 years, 4 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Delay information and control 185 // Delay information and control
186 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type, u int16_t sizeMS); 186 virtual int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type, u int16_t sizeMS);
187 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const; 187 virtual int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const;
188 virtual int32_t PlayoutDelay(uint16_t& delayMS) const; 188 virtual int32_t PlayoutDelay(uint16_t& delayMS) const;
189 virtual int32_t RecordingDelay(uint16_t& delayMS) const; 189 virtual int32_t RecordingDelay(uint16_t& delayMS) const;
190 190
191 // CPU load 191 // CPU load
192 virtual int32_t CPULoad(uint16_t& load) const; 192 virtual int32_t CPULoad(uint16_t& load) const;
193 193
194 virtual int32_t EnableBuiltInAEC(bool enable); 194 virtual int32_t EnableBuiltInAEC(bool enable);
195 virtual bool BuiltInAECIsEnabled() const;
196 195
197 public: 196 public:
198 virtual bool PlayoutWarning() const; 197 virtual bool PlayoutWarning() const;
199 virtual bool PlayoutError() const; 198 virtual bool PlayoutError() const;
200 virtual bool RecordingWarning() const; 199 virtual bool RecordingWarning() const;
201 virtual bool RecordingError() const; 200 virtual bool RecordingError() const;
202 virtual void ClearPlayoutWarning(); 201 virtual void ClearPlayoutWarning();
203 virtual void ClearPlayoutError(); 202 virtual void ClearPlayoutError();
204 virtual void ClearRecordingWarning(); 203 virtual void ClearRecordingWarning();
205 virtual void ClearRecordingError(); 204 virtual void ClearRecordingError();
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 uint16_t _newMicLevel; 369 uint16_t _newMicLevel;
371 370
372 mutable char _str[512]; 371 mutable char _str[512];
373 }; 372 };
374 373
375 #endif // #if (_MSC_VER >= 1400) 374 #endif // #if (_MSC_VER >= 1400)
376 375
377 } // namespace webrtc 376 } // namespace webrtc
378 377
379 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CORE_WIN_H_ 378 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CORE_WIN_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/include/mock_audio_device.h ('k') | webrtc/modules/audio_device/win/audio_device_core_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698