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

Unified Diff: media/audio/sample_rates.h

Issue 554733002: Add support for 24kHz audio sample rate and remove the validation check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « content/renderer/media/webrtc_audio_renderer.cc ('k') | media/audio/sample_rates.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/sample_rates.h
diff --git a/media/audio/sample_rates.h b/media/audio/sample_rates.h
index 482ec0fdc8b2fcbbe25d3b46e58058fd25ca2a7d..d2834e74f26cce02347f690c6166a6a7b1029bbb 100644
--- a/media/audio/sample_rates.h
+++ b/media/audio/sample_rates.h
@@ -23,8 +23,9 @@ enum AudioSampleRate {
k88200Hz = 8,
k176400Hz = 9,
k192000Hz = 10,
+ k24000Hz = 11,
// Must always equal the largest value ever reported:
- kAudioSampleRateMax = k192000Hz,
+ kAudioSampleRateMax = k24000Hz,
};
// Helper method to convert integral values to their respective enum values,
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.cc ('k') | media/audio/sample_rates.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698