This CL changes all the freq relevant variables to be int type. So it will take away the VoE "comparison between signed and unsigned integer expressions" warnings.

BR,
/SX
Review URL: http://webrtc-codereview.appspot.com/89014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@320 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
xians@google.com
2011-08-08 08:18:44 +00:00
parent 81520b7955
commit 0b0665acc1
12 changed files with 36 additions and 42 deletions

View File

@@ -256,8 +256,7 @@ int AudioProcessingImpl::ProcessStream(AudioFrame* frame) {
return kNullPointerError;
}
if (frame->_frequencyInHz !=
static_cast<WebRtc_UWord32>(sample_rate_hz_)) {
if (frame->_frequencyInHz != sample_rate_hz_) {
return kBadSampleRateError;
}
@@ -382,8 +381,7 @@ int AudioProcessingImpl::AnalyzeReverseStream(AudioFrame* frame) {
return kNullPointerError;
}
if (frame->_frequencyInHz !=
static_cast<WebRtc_UWord32>(sample_rate_hz_)) {
if (frame->_frequencyInHz != sample_rate_hz_) {
return kBadSampleRateError;
}