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

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

Issue 7831050: Revert 99236 - Very short-term change: while working on proper long-term solution, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « content/browser/renderer_host/media/audio_sync_reader.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) 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Functions that handle data buffer passed between processes in the shared 85 // Functions that handle data buffer passed between processes in the shared
86 // memory. Called on both IPC sides. 86 // memory. Called on both IPC sides.
87 87
88 MEDIA_EXPORT uint32 TotalSharedMemorySizeInBytes(uint32 packet_size); 88 MEDIA_EXPORT uint32 TotalSharedMemorySizeInBytes(uint32 packet_size);
89 MEDIA_EXPORT uint32 PacketSizeSizeInBytes(uint32 shared_memory_created_size); 89 MEDIA_EXPORT uint32 PacketSizeSizeInBytes(uint32 shared_memory_created_size);
90 MEDIA_EXPORT uint32 GetActualDataSizeInBytes(base::SharedMemory* shared_memory, 90 MEDIA_EXPORT uint32 GetActualDataSizeInBytes(base::SharedMemory* shared_memory,
91 uint32 shared_memory_size); 91 uint32 shared_memory_size);
92 MEDIA_EXPORT void SetActualDataSizeInBytes(base::SharedMemory* shared_memory, 92 MEDIA_EXPORT void SetActualDataSizeInBytes(base::SharedMemory* shared_memory,
93 uint32 shared_memory_size, 93 uint32 shared_memory_size,
94 uint32 actual_data_size); 94 uint32 actual_data_size);
95 MEDIA_EXPORT void SetUnknownDataSize(base::SharedMemory* shared_memory,
96 uint32 shared_memory_size);
97 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory,
98 uint32 shared_memory_size);
99 95
100 } // namespace media 96 } // namespace media
101 97
102 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_ 98 #endif // MEDIA_AUDIO_AUDIO_UTIL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_sync_reader.cc ('k') | media/audio/audio_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698