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

Unified Diff: webrtc/modules/audio_device/dummy/file_audio_device.cc

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_device/audio_device_buffer.cc ('k') | webrtc/modules/audio_processing/ns/ns_core.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82569e8fcfb47abb289f82edec1c7b6430e11f26..3de5344a8f151a81540e57ca2bc7b25b5305c131 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 = kRecordingFixedSampleRate/100;
+ _recordingFramesIn10MS = static_cast<uint32_t>(kRecordingFixedSampleRate/100);
if (_ptrAudioBuffer) {
_ptrAudioBuffer->SetRecordingSampleRate(kRecordingFixedSampleRate);
@@ -190,7 +190,7 @@ int32_t FileAudioDevice::StartPlayout() {
return 0;
}
- _playoutFramesIn10MS = kPlayoutFixedSampleRate/100;
+ _playoutFramesIn10MS = static_cast<uint32_t>(kPlayoutFixedSampleRate/100);
_playing = true;
_playoutFramesLeft = 0;
« no previous file with comments | « webrtc/modules/audio_device/audio_device_buffer.cc ('k') | webrtc/modules/audio_processing/ns/ns_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698