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

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

Issue 2908073002: Make OS audio buffer size limits visible. (Closed)
Patch Set: Updates based on reviewer feedback. Created 3 years, 6 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
Index: media/base/mac/audio_util_mac.h
diff --git a/media/base/mac/audio_util_mac.h b/media/base/mac/audio_util_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..d8203e19f5ecdb14e8765b1b9609b3a6b17de7b8
--- /dev/null
+++ b/media/base/mac/audio_util_mac.h
@@ -0,0 +1,22 @@
+// Copyright (c) 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_UTIL_MAC_H_
+#define MEDIA_BASE_MAC_AUDIO_UTIL_MAC_H_
+
+#include "base/macros.h"
+#include "media/base/media_export.h"
+
+namespace media {
+
+namespace audio_util_mac {
+
+int MEDIA_EXPORT GetMinAudioBufferSizeForSampleRate(int min_buffer_size,
+ int sample_rate);
+
+} // namespace audio_util_mac
+
+} // namespace media
+
+#endif // MEDIA_BASE_MAC_AUDIO_UTIL_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698