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

Unified Diff: media/base/limits.h

Issue 2973763002: Revert of Make OS audio buffer size limits visible. (Closed)
Patch Set: Created 3 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/base/audio_latency.cc ('k') | media/base/mac/audio_latency_mac.h » ('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 0853b58a2f62747ed41a2ab8e9bcb9d59412505d..f936c8bf9257a064c9aeac0229bec51a65ffcb15 100644
--- a/media/base/limits.h
+++ b/media/base/limits.h
@@ -6,8 +6,6 @@
#ifndef MEDIA_BASE_LIMITS_H_
#define MEDIA_BASE_LIMITS_H_
-
-#include "build/build_config.h"
namespace media {
@@ -60,20 +58,6 @@
kMaxInitDataLength = 64 * 1024, // 64 KB
kMaxSessionResponseLength = 64 * 1024, // 64 KB
kMaxKeySystemLength = 256,
-
-// Minimum and maximum buffer sizes for certain audio platforms.
-#if defined(OS_MACOSX)
- kMinAudioBufferSize = 128,
- kMaxAudioBufferSize = 4096,
-#elif defined(USE_PULSEAUDIO)
- kMinAudioBufferSize = 512,
- kMaxAudioBufferSize = 8192,
-#elif defined(USE_CRAS)
- // Though CRAS has different per-board defaults, allow explicitly requesting
- // this buffer size on any board.
- kMinAudioBufferSize = 256,
- kMaxAudioBufferSize = 8192,
-#endif
};
} // namespace limits
« no previous file with comments | « media/base/audio_latency.cc ('k') | media/base/mac/audio_latency_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698