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

Side by Side Diff: media/cast/test/utility/audio_utility.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 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
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/cast/test/utility/audio_utility_unittest.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 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_CAST_TEST_UTILITY_AUDIO_UTILITY_H_ 5 #ifndef MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_
6 #define MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_ 6 #define MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include "base/macros.h" 11 #include "base/macros.h"
9 #include "media/audio/simple_sources.h" 12 #include "media/audio/simple_sources.h"
10 13
11 namespace base { 14 namespace base {
12 class TimeDelta; 15 class TimeDelta;
13 } 16 }
14 17
15 namespace media { 18 namespace media {
16 class AudioBus; 19 class AudioBus;
17 } 20 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 float* samples); 77 float* samples);
75 78
76 // Decode a timestamp encoded with EncodeTimestamp. Returns true if a 79 // Decode a timestamp encoded with EncodeTimestamp. Returns true if a
77 // timestamp was found in |samples|. 80 // timestamp was found in |samples|.
78 bool DecodeTimestamp(const float* samples, size_t length, uint16_t* timestamp); 81 bool DecodeTimestamp(const float* samples, size_t length, uint16_t* timestamp);
79 82
80 } // namespace cast 83 } // namespace cast
81 } // namespace media 84 } // namespace media
82 85
83 #endif // MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_ 86 #endif // MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_
OLDNEW
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/cast/test/utility/audio_utility_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698