diff options
Diffstat (limited to 'webrtc/modules/audio_device/dummy/file_audio_device.h')
-rw-r--r-- | webrtc/modules/audio_device/dummy/file_audio_device.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/webrtc/modules/audio_device/dummy/file_audio_device.h b/webrtc/modules/audio_device/dummy/file_audio_device.h index 0e1665ea72..77179409ea 100644 --- a/webrtc/modules/audio_device/dummy/file_audio_device.h +++ b/webrtc/modules/audio_device/dummy/file_audio_device.h @@ -20,9 +20,12 @@ #include "webrtc/system_wrappers/include/file_wrapper.h" #include "webrtc/system_wrappers/include/clock.h" +namespace rtc { +class PlatformThread; +} // namespace rtc + namespace webrtc { class EventWrapper; -class ThreadWrapper; // This is a fake audio device which plays audio from a file as its microphone // and plays out into a file. @@ -178,8 +181,9 @@ class FileAudioDevice : public AudioDeviceGeneric { size_t _recordingFramesIn10MS; size_t _playoutFramesIn10MS; - rtc::scoped_ptr<ThreadWrapper> _ptrThreadRec; - rtc::scoped_ptr<ThreadWrapper> _ptrThreadPlay; + // TODO(pbos): Make plain members instead of pointers and stop resetting them. + rtc::scoped_ptr<rtc::PlatformThread> _ptrThreadRec; + rtc::scoped_ptr<rtc::PlatformThread> _ptrThreadPlay; bool _playing; bool _recording; |