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

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

Issue 1476453002: Clean up PlatformThread. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: hopefully the last win compile error Created 5 years 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 EventTimerWrapper& _timeEvent; 215 EventTimerWrapper& _timeEvent;
216 EventWrapper& _recStartEvent; 216 EventWrapper& _recStartEvent;
217 EventWrapper& _playStartEvent; 217 EventWrapper& _playStartEvent;
218 218
219 HANDLE _hGetCaptureVolumeThread; 219 HANDLE _hGetCaptureVolumeThread;
220 HANDLE _hShutdownGetVolumeEvent; 220 HANDLE _hShutdownGetVolumeEvent;
221 HANDLE _hSetCaptureVolumeThread; 221 HANDLE _hSetCaptureVolumeThread;
222 HANDLE _hShutdownSetVolumeEvent; 222 HANDLE _hShutdownSetVolumeEvent;
223 HANDLE _hSetCaptureVolumeEvent; 223 HANDLE _hSetCaptureVolumeEvent;
224 224
225 rtc::scoped_ptr<PlatformThread> _ptrThread; 225 // TODO(pbos): Remove scoped_ptr usage and use PlatformThread directly
226 rtc::scoped_ptr<rtc::PlatformThread> _ptrThread;
226 227
227 CriticalSectionWrapper& _critSectCb; 228 CriticalSectionWrapper& _critSectCb;
228 229
229 int32_t _id; 230 int32_t _id;
230 231
231 AudioMixerManager _mixerManager; 232 AudioMixerManager _mixerManager;
232 233
233 bool _usingInputDeviceIndex; 234 bool _usingInputDeviceIndex;
234 bool _usingOutputDeviceIndex; 235 bool _usingOutputDeviceIndex;
235 AudioDeviceModule::WindowsDeviceType _inputDevice; 236 AudioDeviceModule::WindowsDeviceType _inputDevice;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 uint16_t _recError; 332 uint16_t _recError;
332 333
333 uint32_t _newMicLevel; 334 uint32_t _newMicLevel;
334 uint32_t _minMicVolume; 335 uint32_t _minMicVolume;
335 uint32_t _maxMicVolume; 336 uint32_t _maxMicVolume;
336 }; 337 };
337 338
338 } // namespace webrtc 339 } // namespace webrtc
339 340
340 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_WAVE_WIN_H 341 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_WAVE_WIN_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698