Index: media/audio/audio_util.h |
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h |
index 2fccc1ef1ef179dd80083308f8e0c43c52cb439d..df5683fd9149759864a45db4b567150d4a39b7e3 100644 |
--- a/media/audio/audio_util.h |
+++ b/media/audio/audio_util.h |
@@ -107,6 +107,10 @@ MEDIA_EXPORT size_t GetAudioHardwareBufferSize(); |
MEDIA_EXPORT ChannelLayout GetAudioInputHardwareChannelLayout( |
const std::string& device_id); |
+// Computes a buffer size based on the given |sample_rate|. Must be used in |
+// conjunction with AUDIO_PCM_LINEAR. |
+MEDIA_EXPORT size_t GetHighLatencyOutputBufferSize(int sample_rate); |
+ |
// Functions that handle data buffer passed between processes in the shared |
// memory. Called on both IPC sides. |