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_ENCODER_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_AUDIO_ENCODER_H_ |
6 #define CONTENT_BROWSER_SPEECH_AUDIO_ENCODER_H_ | 6 #define CONTENT_BROWSER_SPEECH_AUDIO_ENCODER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <list> | 8 #include <list> |
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/browser/speech/audio_buffer.h" | 13 #include "content/browser/speech/audio_buffer.h" |
15 | 14 |
16 namespace speech { | 15 namespace speech { |
17 class AudioChunk; | 16 class AudioChunk; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 private: | 50 private: |
52 std::string mime_type_; | 51 std::string mime_type_; |
53 int bits_per_sample_; | 52 int bits_per_sample_; |
54 | 53 |
55 DISALLOW_COPY_AND_ASSIGN(AudioEncoder); | 54 DISALLOW_COPY_AND_ASSIGN(AudioEncoder); |
56 }; | 55 }; |
57 | 56 |
58 } // namespace speech | 57 } // namespace speech |
59 | 58 |
60 #endif // CONTENT_BROWSER_SPEECH_AUDIO_ENCODER_H_ | 59 #endif // CONTENT_BROWSER_SPEECH_AUDIO_ENCODER_H_ |
OLD | NEW |