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 #include "content/browser/speech/endpointer/endpointer.h" | 5 #include "content/browser/speech/endpointer/endpointer.h" |
6 | 6 |
7 #include "base/time.h" | 7 #include "base/time/time.h" |
8 #include "content/browser/speech/audio_buffer.h" | 8 #include "content/browser/speech/audio_buffer.h" |
9 | 9 |
10 using base::Time; | 10 using base::Time; |
11 | 11 |
12 namespace { | 12 namespace { |
13 const int kFrameRate = 50; // 1 frame = 20ms of audio. | 13 const int kFrameRate = 50; // 1 frame = 20ms of audio. |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 speech_input_complete_ = true; | 160 speech_input_complete_ = true; |
161 } | 161 } |
162 } | 162 } |
163 } | 163 } |
164 old_ep_status_ = ep_status; | 164 old_ep_status_ = ep_status; |
165 } | 165 } |
166 return ep_status; | 166 return ep_status; |
167 } | 167 } |
168 | 168 |
169 } // namespace content | 169 } // namespace content |
OLD | NEW |