| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BASE_AUDIO_HASH_H_ | 5 #ifndef MEDIA_BASE_AUDIO_HASH_H_ |
| 6 #define MEDIA_BASE_AUDIO_HASH_H_ | 6 #define MEDIA_BASE_AUDIO_HASH_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <string> | 11 #include <string> |
| 9 | 12 |
| 10 #include "base/macros.h" | 13 #include "base/macros.h" |
| 11 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
| 12 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
| 13 | 16 |
| 14 namespace media { | 17 namespace media { |
| 15 | 18 |
| 16 class AudioBus; | 19 class AudioBus; |
| 17 | 20 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // The total number of samples processed per channel. Uses a uint32_t instead | 52 // The total number of samples processed per channel. Uses a uint32_t instead |
| 50 // of size_t so overflows on 64-bit and 32-bit machines are equivalent. | 53 // of size_t so overflows on 64-bit and 32-bit machines are equivalent. |
| 51 uint32_t sample_count_; | 54 uint32_t sample_count_; |
| 52 | 55 |
| 53 DISALLOW_COPY_AND_ASSIGN(AudioHash); | 56 DISALLOW_COPY_AND_ASSIGN(AudioHash); |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 } // namespace media | 59 } // namespace media |
| 57 | 60 |
| 58 #endif // MEDIA_BASE_AUDIO_HASH_H_ | 61 #endif // MEDIA_BASE_AUDIO_HASH_H_ |
| OLD | NEW |