Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: content/browser/speech/speech_recognizer.cc

Issue 11198018: Move ChannelLayout into media namespace. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/speech/speech_recognizer.h ('k') | content/common/media/audio_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer.cc
diff --git a/content/browser/speech/speech_recognizer.cc b/content/browser/speech/speech_recognizer.cc
index 8078ba1615cfe8435d32929d48ae694399da2f60..9eefc5cac42cd3366a61cb9abd2cedd01b9ea59a 100644
--- a/content/browser/speech/speech_recognizer.cc
+++ b/content/browser/speech/speech_recognizer.cc
@@ -26,6 +26,7 @@ using content::SpeechRecognitionResult;
using media::AudioInputController;
using media::AudioManager;
using media::AudioParameters;
+using media::ChannelLayout;
namespace {
@@ -69,7 +70,8 @@ void KeepAudioControllerRefcountedForDtor(scoped_refptr<AudioInputController>) {
namespace speech {
const int SpeechRecognizer::kAudioSampleRate = 16000;
-const ChannelLayout SpeechRecognizer::kChannelLayout = CHANNEL_LAYOUT_MONO;
+const ChannelLayout SpeechRecognizer::kChannelLayout =
+ media::CHANNEL_LAYOUT_MONO;
const int SpeechRecognizer::kNumBitsPerAudioSample = 16;
const int SpeechRecognizer::kNoSpeechTimeoutMs = 8000;
const int SpeechRecognizer::kEndpointerEstimationTimeMs = 300;
« no previous file with comments | « content/browser/speech/speech_recognizer.h ('k') | content/common/media/audio_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698