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

Unified Diff: media/base/limits.h

Issue 10832285: Switch OnMoreData() to use AudioBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Comments. Created 8 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 | « media/base/audio_bus.h ('k') | ppapi/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/limits.h
diff --git a/media/base/limits.h b/media/base/limits.h
index 2f5b80169cb1261c7a4645134d72eee3f46d8fb9..e3b69a6f76d6970596c4e1a6da8f08fd52723f4f 100644
--- a/media/base/limits.h
+++ b/media/base/limits.h
@@ -36,6 +36,8 @@ enum {
kMaxChannels = 32,
kMaxBitsPerSample = 64,
kMaxSamplesPerPacket = kMaxSampleRate,
+ kMaxPacketSizeInBytes =
+ (kMaxBitsPerSample / 8) * kMaxChannels * kMaxSamplesPerPacket,
};
} // namespace limits
« no previous file with comments | « media/base/audio_bus.h ('k') | ppapi/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698