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

Unified Diff: media/audio/audio_parameters.h

Issue 10825108: Remove a bunch of dead fields found by Scythe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/cross_process_notification_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_parameters.h
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
index 8ce20704501d270fcf3caf5d10a1dc8087db163e..01d8869bbb4fc37e1b25bdac06d82fa164bdee07 100644
--- a/media/audio/audio_parameters.h
+++ b/media/audio/audio_parameters.h
@@ -39,12 +39,12 @@ class MEDIA_EXPORT AudioParameters {
AUDIO_LAST_FORMAT // Only used for validation of format.y
};
- // Telephone quality sample rate, mostly for speech-only audio.
- static const uint32 kTelephoneSampleRate = 8000;
- // CD sampling rate is 44.1 KHz or conveniently 2x2x3x3x5x5x7x7.
- static const uint32 kAudioCDSampleRate = 44100;
- // Digital Audio Tape sample rate.
- static const uint32 kAudioDATSampleRate = 48000;
+ enum {
+ // Telephone quality sample rate, mostly for speech-only audio.
+ kTelephoneSampleRate = 8000,
+ // CD sampling rate is 44.1 KHz or conveniently 2x2x3x3x5x5x7x7.
acolwell GONE FROM CHROMIUM 2012/07/31 18:09:42 nit: remove everything after the or?
Ami GONE FROM CHROMIUM 2012/07/31 18:14:43 Dunno where this came from, leaving for now.
Ami GONE FROM CHROMIUM 2012/07/31 20:23:55 FTR, this was introduced in http://codereview.chro
+ kAudioCDSampleRate = 44100,
+ };
AudioParameters();
AudioParameters(Format format, ChannelLayout channel_layout,
« no previous file with comments | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/cross_process_notification_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698