Index: webrtc/modules/audio_device/dummy/file_audio_device.cc |
diff --git a/webrtc/modules/audio_device/dummy/file_audio_device.cc b/webrtc/modules/audio_device/dummy/file_audio_device.cc |
index 3de5344a8f151a81540e57ca2bc7b25b5305c131..fa00459362fb6b56ad367b3ec6e01cab22f2d7bd 100644 |
--- a/webrtc/modules/audio_device/dummy/file_audio_device.cc |
+++ b/webrtc/modules/audio_device/dummy/file_audio_device.cc |
@@ -172,7 +172,7 @@ int32_t FileAudioDevice::InitRecording() { |
return -1; |
} |
- _recordingFramesIn10MS = static_cast<uint32_t>(kRecordingFixedSampleRate/100); |
+ _recordingFramesIn10MS = static_cast<size_t>(kRecordingFixedSampleRate/100); |
henrika_webrtc
2015/07/24 10:43:04
nit, (kRecordingFixedSampleRate / 100)
Peter Kasting
2015/07/27 23:28:02
Done.
|
if (_ptrAudioBuffer) { |
_ptrAudioBuffer->SetRecordingSampleRate(kRecordingFixedSampleRate); |
@@ -190,7 +190,7 @@ int32_t FileAudioDevice::StartPlayout() { |
return 0; |
} |
- _playoutFramesIn10MS = static_cast<uint32_t>(kPlayoutFixedSampleRate/100); |
+ _playoutFramesIn10MS = static_cast<size_t>(kPlayoutFixedSampleRate / 100); |
_playing = true; |
_playoutFramesLeft = 0; |