summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/speech_recognition_engine.cc
blob: 42388137871a68d8364604658a9debfee278dd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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;
const uint32 kDefaultMaxHypotheses = 1;
}  // namespace

namespace speech {

SpeechRecognitionEngine::Config::Config()
    : filter_profanities(false),
      max_hypotheses(kDefaultMaxHypotheses),
      audio_sample_rate(kDefaultConfigSampleRate),
      audio_num_bits_per_sample(kDefaultConfigBitsPerSample) {
}

SpeechRecognitionEngine::Config::~Config() {
}

}  // namespace speech