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. 4 5 #include "content/browser/speech/speech_recognition_engine.h" 6 7 namespace { 8 const int kDefaultConfigSampleRate = 8000; 9 const int kDefaultConfigBitsPerSample = 16; 10 const uint32 kDefaultMaxHypotheses = 1; 11 } // namespace 12 13 namespace content { 14 Config()15SpeechRecognitionEngine::Config::Config() 16 : filter_profanities(false), 17 continuous(true), 18 interim_results(true), 19 max_hypotheses(kDefaultMaxHypotheses), 20 audio_sample_rate(kDefaultConfigSampleRate), 21 audio_num_bits_per_sample(kDefaultConfigBitsPerSample) { 22 } 23 ~Config()24SpeechRecognitionEngine::Config::~Config() { 25 } 26 27 } // namespace content 28