OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ |
6 #define CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ | 6 #define CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <deque> | 8 #include <deque> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 | 14 |
16 namespace speech { | 15 namespace speech { |
17 | 16 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 typedef std::deque<scoped_refptr<AudioChunk> > ChunksContainer; | 67 typedef std::deque<scoped_refptr<AudioChunk> > ChunksContainer; |
69 ChunksContainer chunks_; | 68 ChunksContainer chunks_; |
70 int bytes_per_sample_; | 69 int bytes_per_sample_; |
71 | 70 |
72 DISALLOW_COPY_AND_ASSIGN(AudioBuffer); | 71 DISALLOW_COPY_AND_ASSIGN(AudioBuffer); |
73 }; | 72 }; |
74 | 73 |
75 } // namespace speech | 74 } // namespace speech |
76 | 75 |
77 #endif // CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ | 76 #endif // CONTENT_BROWSER_SPEECH_AUDIO_BUFFER_H_ |
OLD | NEW |