diff options
author | dgreid@chromium.org <dgreid@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 10:41:20 +0000 |
---|---|---|
committer | dgreid@chromium.org <dgreid@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 10:41:20 +0000 |
commit | 05ff60ea7b4964b57c9a86cd0e29ef1d4e32da6a (patch) | |
tree | e025d3bd0290e85ac2d1cded598fdc88e43d69c7 /media | |
parent | 7b8ec00b230223fea12d2009b5530975cc4d9fde (diff) | |
download | chromium_src-05ff60ea7b4964b57c9a86cd0e29ef1d4e32da6a.zip chromium_src-05ff60ea7b4964b57c9a86cd0e29ef1d4e32da6a.tar.gz chromium_src-05ff60ea7b4964b57c9a86cd0e29ef1d4e32da6a.tar.bz2 |
cras_unified: Add default case to stream-type switch.
A new value will be added to this enum for whole-system loopback.
That case will be added here after it is added to the system enum.
Until then, add a default case so that the compiler doesn't complain.
This will allow the enum to be changed, after that the new value can
be handled in this switch.
BUG=247160
TEST=Builds agains cros platform with new enum value defined
Review URL: https://chromiumcodereview.appspot.com/18344011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/audio/cras/cras_unified.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/audio/cras/cras_unified.cc b/media/audio/cras/cras_unified.cc index 7cc245f..c1c3ee92 100644 --- a/media/audio/cras/cras_unified.cc +++ b/media/audio/cras/cras_unified.cc @@ -301,6 +301,8 @@ uint32 CrasUnifiedStream::DispatchCallback(size_t frames, case CRAS_STREAM_UNIFIED: return ReadWriteAudio(frames, input_samples, output_samples, input_ts, output_ts); + default: + break; } return 0; |