Index: webrtc/modules/audio_device/dummy/file_audio_device.h |
diff --git a/webrtc/modules/audio_device/dummy/file_audio_device.h b/webrtc/modules/audio_device/dummy/file_audio_device.h |
index a8a71ca62bbbd175984bc4962f7051abcf8644e6..77179409ea25b6841db1cbdbfb5f3a51a114d6fa 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 PlatformThread; |
// 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<PlatformThread> _ptrThreadRec; |
- rtc::scoped_ptr<PlatformThread> _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; |