Chromium Code Reviews| 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, |