OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_AUDIO_AUDIO_UTIL_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_UTIL_H_ |
6 #define MEDIA_AUDIO_AUDIO_UTIL_H_ | 6 #define MEDIA_AUDIO_AUDIO_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 uint32 shared_memory_size); | 125 uint32 shared_memory_size); |
126 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory, | 126 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory, |
127 uint32 shared_memory_size); | 127 uint32 shared_memory_size); |
128 | 128 |
129 #if defined(OS_WIN) | 129 #if defined(OS_WIN) |
130 | 130 |
131 // Does Windows support WASAPI? We are checking in lot of places, and | 131 // Does Windows support WASAPI? We are checking in lot of places, and |
132 // sometimes check was written incorrectly, so move into separate function. | 132 // sometimes check was written incorrectly, so move into separate function. |
133 MEDIA_EXPORT bool IsWASAPISupported(); | 133 MEDIA_EXPORT bool IsWASAPISupported(); |
134 | 134 |
135 // Returns number of buffers to be used by wave out. | |
136 MEDIA_EXPORT int NumberOfWaveOutBuffers(); | |
137 | |
138 #endif // defined(OS_WIN) | 135 #endif // defined(OS_WIN) |
139 | 136 |
140 } // namespace media | 137 } // namespace media |
141 | 138 |
142 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ | 139 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ |
OLD | NEW |