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

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

Issue 8777003: Move decision if we need to use WASAPI or wave out into separate function. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 MEDIA_EXPORT uint32 GetActualDataSizeInBytes(base::SharedMemory* shared_memory, 98 MEDIA_EXPORT uint32 GetActualDataSizeInBytes(base::SharedMemory* shared_memory,
99 uint32 shared_memory_size); 99 uint32 shared_memory_size);
100 MEDIA_EXPORT void SetActualDataSizeInBytes(base::SharedMemory* shared_memory, 100 MEDIA_EXPORT void SetActualDataSizeInBytes(base::SharedMemory* shared_memory,
101 uint32 shared_memory_size, 101 uint32 shared_memory_size,
102 uint32 actual_data_size); 102 uint32 actual_data_size);
103 MEDIA_EXPORT void SetUnknownDataSize(base::SharedMemory* shared_memory, 103 MEDIA_EXPORT void SetUnknownDataSize(base::SharedMemory* shared_memory,
104 uint32 shared_memory_size); 104 uint32 shared_memory_size);
105 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory, 105 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory,
106 uint32 shared_memory_size); 106 uint32 shared_memory_size);
107 107
108 #if defined(OS_WIN)
109
110 // Does Windows support WASAPI? We are checking in lot of places, and
111 // sometimes check was written incorrectly, so move into separate function.
112 MEDIA_EXPORT bool WindowsSupportWASAPI();
tommi (sloooow) - chröme 2011/12/02 22:23:45 nit: maybe IsWASAPISupported() in line with other
113
114 #endif // defined(OS_WIN)
115
108 } // namespace media 116 } // namespace media
109 117
110 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ 118 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698