Chromium Code Reviews| 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. |
|
DaleCurtis
2017/06/27 17:25:08
No (c) anymore.
Andrew MacPherson
2017/06/27 17:46:50
Done.
|
| +// 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 { |
|
DaleCurtis
2017/06/27 17:25:08
Use internal as the ns if you don't want this to b
Andrew MacPherson
2017/06/27 17:46:50
Done, renamed to GetMinAudioBufferSizeMacOS() and
|
| + |
| +int MEDIA_EXPORT GetMinAudioBufferSizeForSampleRate(int min_buffer_size, |
|
DaleCurtis
2017/06/27 17:25:08
MEDIA_EXPORT int
Andrew MacPherson
2017/06/27 17:46:50
Done.
|
| + int sample_rate); |
| + |
| +} // namespace audio_util_mac |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_BASE_MAC_AUDIO_UTIL_MAC_H_ |