summaryrefslogtreecommitdiffstats
path: root/media/base/limits.h
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 03:30:08 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 03:30:08 +0000
commitd76d7c4b106b272e6c6cea47e5b91c9f8e83e31c (patch)
treeb9fdccef8ec7683952a81f835389286eac937f7b /media/base/limits.h
parent2ffc31a4ee37b7745d2bdc8ed2a704f7f02c9589 (diff)
downloadchromium_src-d76d7c4b106b272e6c6cea47e5b91c9f8e83e31c.zip
chromium_src-d76d7c4b106b272e6c6cea47e5b91c9f8e83e31c.tar.gz
chromium_src-d76d7c4b106b272e6c6cea47e5b91c9f8e83e31c.tar.bz2
Apply limits consistent with offline audio contexts.
BUG=95004 Review URL: http://codereview.chromium.org/7822012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/limits.h')
-rw-r--r--media/base/limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/base/limits.h b/media/base/limits.h
index a2dbc43..93522d2 100644
--- a/media/base/limits.h
+++ b/media/base/limits.h
@@ -25,6 +25,7 @@ struct Limits {
// OGG vorbis was initially limited to 96 Khz, but recent tools are unlimited.
// 192 Khz is also the limit on most PC audio hardware.
static const int kMaxSampleRate = 192000;
+ static const int kMinSampleRate = 8000;
static const int kMaxChannels = 32;
static const int kMaxBitsPerSample = 64;
static const int kMaxSamplesPerPacket = kMaxSampleRate;