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_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 "base/macros.h" |
8 #include "media/audio/simple_sources.h" | 9 #include "media/audio/simple_sources.h" |
9 | 10 |
10 namespace base { | 11 namespace base { |
11 class TimeDelta; | 12 class TimeDelta; |
12 } | 13 } |
13 | 14 |
14 namespace media { | 15 namespace media { |
15 class AudioBus; | 16 class AudioBus; |
16 } | 17 } |
17 | 18 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 float* samples); | 74 float* samples); |
74 | 75 |
75 // Decode a timestamp encoded with EncodeTimestamp. Returns true if a | 76 // Decode a timestamp encoded with EncodeTimestamp. Returns true if a |
76 // timestamp was found in |samples|. | 77 // timestamp was found in |samples|. |
77 bool DecodeTimestamp(const float* samples, size_t length, uint16_t* timestamp); | 78 bool DecodeTimestamp(const float* samples, size_t length, uint16_t* timestamp); |
78 | 79 |
79 } // namespace cast | 80 } // namespace cast |
80 } // namespace media | 81 } // namespace media |
81 | 82 |
82 #endif // MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_ | 83 #endif // MEDIA_CAST_TEST_UTILITY_AUDIO_UTILITY_H_ |
OLD | NEW |