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

Unified Diff: components/audio_modem/public/audio_modem_types.h

Issue 1020683002: Fixing mono/stereo crash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/audio_modem/constants.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/public/audio_modem_types.h
diff --git a/components/audio_modem/public/audio_modem_types.h b/components/audio_modem/public/audio_modem_types.h
index 036a6a192ef492bae820257c6c144ab8a2bed19b..f352269a0c60e96f2afddea17504b78935490dfd 100644
--- a/components/audio_modem/public/audio_modem_types.h
+++ b/components/audio_modem/public/audio_modem_types.h
@@ -25,9 +25,8 @@ extern const float kDefaultSampleRate;
extern const int kDefaultBitsPerSample;
extern const float kDefaultCarrierFrequency;
-// The next two really need to be configurable since they don't need to be
-// consistent across platforms, or even playing/recording.
-extern const int kDefaultChannels;
+// This really needs to be configurable since it doesn't need
+// to be consistent across platforms, or even playing/recording.
extern const media::ChannelLayout kDefaultChannelLayout;
// Enum to represent the audio band (audible vs. ultrasound).
« no previous file with comments | « components/audio_modem/constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698