Index: media/audio/audio_util.h |
diff --git a/media/audio/audio_util.h b/media/audio/audio_util.h |
index 11ee38e97f096d2afb7635db96d35614e2c378f2..6984acaa8ab90575f9505097ae9d984e1be5705b 100644 |
--- a/media/audio/audio_util.h |
+++ b/media/audio/audio_util.h |
@@ -106,6 +106,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. |