diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 15:11:26 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 15:11:26 +0000 |
commit | a303b15b74fdee4f1d694199d64018aaf7afcd94 (patch) | |
tree | 3b3672154e5c7d3f00552514acc43f68b0f13be4 | |
parent | 047c27204d9ef8adcd2fc8e2ed5e6e5d9914fea3 (diff) | |
download | chromium_src-a303b15b74fdee4f1d694199d64018aaf7afcd94.zip chromium_src-a303b15b74fdee4f1d694199d64018aaf7afcd94.tar.gz chromium_src-a303b15b74fdee4f1d694199d64018aaf7afcd94.tar.bz2 |
Switch from using Speex to FLAC for speech input requests.
BUG=61677
TEST=manual, verify that the audio received by server is in FLAC format.
Review URL: http://codereview.chromium.org/6719033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79557 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/browser/speech/speech_recognizer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/speech/speech_recognizer.cc b/content/browser/speech/speech_recognizer.cc index 953dfb14..d84e634 100644 --- a/content/browser/speech/speech_recognizer.cc +++ b/content/browser/speech/speech_recognizer.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -66,7 +66,7 @@ SpeechRecognizer::SpeechRecognizer(Delegate* delegate, grammar_(grammar), hardware_info_(hardware_info), origin_url_(origin_url), - codec_(AudioEncoder::CODEC_SPEEX), + codec_(AudioEncoder::CODEC_FLAC), encoder_(NULL), endpointer_(kAudioSampleRate), num_samples_recorded_(0), |