Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[email protected] | 7869c0d | 2012-05-15 15:45:22 | [diff] [blame] | 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 | |||||
Yaowei Zhou | f7df39c | 2024-02-29 04:53:48 | [diff] [blame] | 7 | #include "media/base/audio_parameters.h" |
hans | 18b756f9 | 2016-04-14 18:33:47 | [diff] [blame] | 8 | |
9 | namespace content { | ||||
hans | 18b756f9 | 2016-04-14 18:33:47 | [diff] [blame] | 10 | |
Yaowei Zhou | f7df39c | 2024-02-29 04:53:48 | [diff] [blame] | 11 | void SpeechRecognitionEngine::set_delegate(Delegate* delegate) { |
12 | delegate_ = delegate; | ||||
hans | 18b756f9 | 2016-04-14 18:33:47 | [diff] [blame] | 13 | } |
14 | |||||
Yaowei Zhou | f7df39c | 2024-02-29 04:53:48 | [diff] [blame] | 15 | void SpeechRecognitionEngine::SetAudioParameters( |
16 | media::AudioParameters audio_parameters) { | ||||
17 | audio_parameters_ = audio_parameters; | ||||
[email protected] | 7869c0d | 2012-05-15 15:45:22 | [diff] [blame] | 18 | } |
19 | |||||
[email protected] | fcb8e021 | 2012-10-29 11:57:18 | [diff] [blame] | 20 | } // namespace content |