diff options
Diffstat (limited to 'content/browser/speech/speech_recognition_engine.cc')
-rw-r--r-- | content/browser/speech/speech_recognition_engine.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/content/browser/speech/speech_recognition_engine.cc b/content/browser/speech/speech_recognition_engine.cc new file mode 100644 index 0000000..22b8c11 --- /dev/null +++ b/content/browser/speech/speech_recognition_engine.cc @@ -0,0 +1,23 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "content/browser/speech/speech_recognition_engine.h" + +namespace { +const int kDefaultConfigSampleRate = 8000; +const int kDefaultConfigBitsPerSample = 16; +} // namespace + +namespace speech { + +SpeechRecognitionEngine::Config::Config() + : filter_profanities(false), + audio_sample_rate(kDefaultConfigSampleRate), + audio_num_bits_per_sample(kDefaultConfigBitsPerSample) { +} + +SpeechRecognitionEngine::Config::~Config() { +} + +} // namespace speech |