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

Side by Side Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 2535593002: RTC_[D]CHECK_op: Remove "u" suffix on integer constants (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 #endif 806 #endif
807 807
808 return kNoError; 808 return kNoError;
809 } 809 }
810 810
811 void AudioProcessingImpl::QueueRenderAudio(AudioBuffer* audio) { 811 void AudioProcessingImpl::QueueRenderAudio(AudioBuffer* audio) {
812 EchoCancellationImpl::PackRenderAudioBuffer(audio, num_output_channels(), 812 EchoCancellationImpl::PackRenderAudioBuffer(audio, num_output_channels(),
813 num_reverse_channels(), 813 num_reverse_channels(),
814 &aec_render_queue_buffer_); 814 &aec_render_queue_buffer_);
815 815
816 RTC_DCHECK_GE(160u, audio->num_frames_per_band()); 816 RTC_DCHECK_GE(160, audio->num_frames_per_band());
817 817
818 // Insert the samples into the queue. 818 // Insert the samples into the queue.
819 if (!aec_render_signal_queue_->Insert(&aec_render_queue_buffer_)) { 819 if (!aec_render_signal_queue_->Insert(&aec_render_queue_buffer_)) {
820 // The data queue is full and needs to be emptied. 820 // The data queue is full and needs to be emptied.
821 EmptyQueuedRenderAudio(); 821 EmptyQueuedRenderAudio();
822 822
823 // Retry the insert (should always work). 823 // Retry the insert (should always work).
824 bool result = aec_render_signal_queue_->Insert(&aec_render_queue_buffer_); 824 bool result = aec_render_signal_queue_->Insert(&aec_render_queue_buffer_);
825 RTC_DCHECK(result); 825 RTC_DCHECK(result);
826 } 826 }
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after
1879 capture_processing_format(kSampleRate16kHz), 1879 capture_processing_format(kSampleRate16kHz),
1880 split_rate(kSampleRate16kHz) {} 1880 split_rate(kSampleRate16kHz) {}
1881 1881
1882 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; 1882 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default;
1883 1883
1884 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; 1884 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default;
1885 1885
1886 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; 1886 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default;
1887 1887
1888 } // namespace webrtc 1888 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_buffer.cc ('k') | webrtc/modules/audio_processing/beamformer/array_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698