diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 11:57:18 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 11:57:18 +0000 |
commit | fcb8e0216c21719582f25726cf4f6766b1902f64 (patch) | |
tree | 1d14bc15659799f45740df07dc918e961601159d /content/browser/speech/endpointer/endpointer.cc | |
parent | 8b81e050226de9b2f7614557e12c13fc3f3690eb (diff) | |
download | chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.zip chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.tar.gz chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.tar.bz2 |
content/browser: Move speech code into content namespace.
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/11347004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/endpointer/endpointer.cc')
-rw-r--r-- | content/browser/speech/endpointer/endpointer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/speech/endpointer/endpointer.cc b/content/browser/speech/endpointer/endpointer.cc index b4a54c1..b5e8f0b 100644 --- a/content/browser/speech/endpointer/endpointer.cc +++ b/content/browser/speech/endpointer/endpointer.cc @@ -2,18 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "content/browser/speech/audio_buffer.h" #include "content/browser/speech/endpointer/endpointer.h" #include "base/time.h" +#include "content/browser/speech/audio_buffer.h" using base::Time; namespace { -static const int kFrameRate = 50; // 1 frame = 20ms of audio. +const int kFrameRate = 50; // 1 frame = 20ms of audio. } -namespace speech { +namespace content { Endpointer::Endpointer(int sample_rate) : speech_input_possibly_complete_silence_length_us_(-1), @@ -166,4 +166,4 @@ EpStatus Endpointer::ProcessAudio(const AudioChunk& raw_audio, float* rms_out) { return ep_status; } -} // namespace speech +} // namespace content |