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

Side by Side Diff: media/audio/audio_util.h

Issue 10540034: Use 2 buffers on presumable good Windows boxes. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/audio/audio_output_controller_unittest.cc ('k') | media/audio/audio_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
135 #endif // defined(OS_WIN) 138 #endif // defined(OS_WIN)
136 139
137 } // namespace media 140 } // namespace media
138 141
139 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ 142 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_
OLDNEW
« no previous file with comments | « media/audio/audio_output_controller_unittest.cc ('k') | media/audio/audio_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698