Index: content/renderer/media/audio_hardware.cc |
diff --git a/content/renderer/media/audio_hardware.cc b/content/renderer/media/audio_hardware.cc |
index c4470719b8551d3a92744530d5c00eeb3791a1d4..8fca8e55f98b7e789cfa7006611a1e33f7e96147 100644 |
--- a/content/renderer/media/audio_hardware.cc |
+++ b/content/renderer/media/audio_hardware.cc |
@@ -49,6 +49,11 @@ size_t GetOutputBufferSize() { |
} |
size_t GetHighLatencyOutputBufferSize(int sample_rate) { |
+ // TODO(vrk/crogers): The buffer sizes that this function computes is probably |
+ // overly conservative. However, reducing the buffer size to 2048-8192 bytes |
+ // caused crbug.com/108396. This computation should be revisited while making |
+ // sure crbug.com/108396 doesn't happen again. |
+ |
// The minimum number of samples in a hardware packet. |
// This value is selected so that we can handle down to 5khz sample rate. |
static const size_t kMinSamplesPerHardwarePacket = 1024; |