OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILTERS_SOURCE_BUFFER_PLATFORM_H_ | 5 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ |
6 #define MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ | 6 #define MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
8 #include "media/base/media_export.h" | 9 #include "media/base/media_export.h" |
9 | 10 |
10 namespace media { | 11 namespace media { |
11 | 12 |
12 // The maximum amount of data in bytes the stream will keep in memory. | 13 // The maximum amount of data in bytes the stream will keep in memory. |
13 MEDIA_EXPORT extern const int kSourceBufferAudioMemoryLimit; | 14 MEDIA_EXPORT extern const size_t kSourceBufferAudioMemoryLimit; |
14 MEDIA_EXPORT extern const int kSourceBufferVideoMemoryLimit; | 15 MEDIA_EXPORT extern const size_t kSourceBufferVideoMemoryLimit; |
15 | 16 |
16 } // namespace media | 17 } // namespace media |
17 | 18 |
18 #endif // MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ | 19 #endif // MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ |
OLD | NEW |