diff options
author | chinyue <chinyue@chromium.org> | 2015-06-24 18:18:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-25 01:18:37 +0000 |
commit | a2771c3a51b23179100db4084c80d7e8e54a9fe1 (patch) | |
tree | 760fb284ab3ef0b28b33f973c7220457cc923946 | |
parent | b6974eabfd57abde66d3b84182f7e2b8926685c7 (diff) | |
download | chromium_src-a2771c3a51b23179100db4084c80d7e8e54a9fe1.zip chromium_src-a2771c3a51b23179100db4084c80d7e8e54a9fe1.tar.gz chromium_src-a2771c3a51b23179100db4084c80d7e8e54a9fe1.tar.bz2 |
Fix Clang compile error.
cras_client_get_first_dev_type_idx returns a value less than zero on error.
pin_device_ should be an int to handle this.
BUG=468639
TEST=Build Chrome with Clang.
Review URL: https://codereview.chromium.org/1183383002
Cr-Commit-Position: refs/heads/master@{#336061}
-rw-r--r-- | media/audio/cras/cras_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h index ef4a5d9..3dac426 100644 --- a/media/audio/cras/cras_input.h +++ b/media/audio/cras/cras_input.h @@ -101,7 +101,7 @@ class CrasInputStream : public AgcAudioStream<AudioInputStream> { const CRAS_STREAM_DIRECTION stream_direction_; // Index of the CRAS device to stream input from. - uint32 pin_device_; + int pin_device_; // True if the stream is a system-wide loopback stream. bool is_loopback_; |