Changed DCHECK() to DCHECK_LE() to improve readability.

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10835006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148642 0039d316-1c4b-4281-b951-d872f2087c98
parent 1968d977
......@@ -35,7 +35,7 @@ PCMWaveInAudioInputStream::PCMWaveInAudioInputStream(
num_buffers_(num_buffers),
buffer_(NULL),
channels_(params.channels()) {
DCHECK(num_buffers_ > 0);
DCHECK_LE(0, num_buffers_);
format_.wFormatTag = WAVE_FORMAT_PCM;
format_.nChannels = params.channels() > 2 ? 2 : params.channels();
format_.nSamplesPerSec = params.sample_rate();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment