Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messag...
[chromium-blink-merge.git] / content / browser / speech / speech_recognition_engine.cc
blob22b8c118763d535195b04af575be48802e0ba58d
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
3 // found in the LICENSE file.
5 #include "content/browser/speech/speech_recognition_engine.h"
7 namespace {
8 const int kDefaultConfigSampleRate = 8000;
9 const int kDefaultConfigBitsPerSample = 16;
10 } // namespace
12 namespace speech {
14 SpeechRecognitionEngine::Config::Config()
15 : filter_profanities(false),
16 audio_sample_rate(kDefaultConfigSampleRate),
17 audio_num_bits_per_sample(kDefaultConfigBitsPerSample) {
20 SpeechRecognitionEngine::Config::~Config() {
23 } // namespace speech