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

Unified Diff: media/base/mac/audio_latency_mac.h

Issue 2908073002: Make OS audio buffer size limits visible. (Closed)
Patch Set: Remove pulse-related changes. 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/limits.h ('k') | media/base/mac/audio_latency_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mac/audio_latency_mac.h
diff --git a/media/base/mac/audio_latency_mac.h b/media/base/mac/audio_latency_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..e6ad4ef7f1a82006acf62766a44491dd742af6c0
--- /dev/null
+++ b/media/base/mac/audio_latency_mac.h
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_MAC_AUDIO_LATENCY_MAC_H_
+#define MEDIA_BASE_MAC_AUDIO_LATENCY_MAC_H_
+
+#include "base/macros.h"
+#include "media/base/media_export.h"
+
+namespace media {
+
+MEDIA_EXPORT int GetMinAudioBufferSizeMacOS(int min_buffer_size,
+ int sample_rate);
+
+} // namespace media
+
+#endif // MEDIA_BASE_MAC_AUDIO_LATENCY_MAC_H_
« no previous file with comments | « media/base/limits.h ('k') | media/base/mac/audio_latency_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698