1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #include "engine_base.h" 16 17 namespace OHOS { 18 namespace IntellVoiceEngine { StartCapturer(int32_t)19int32_t EngineBase::StartCapturer(int32_t /* channels */) 20 { 21 return 0; 22 } 23 Read(std::vector<uint8_t> &)24int32_t EngineBase::Read(std::vector<uint8_t> & /* data */) 25 { 26 return 0; 27 } 28 StopCapturer()29int32_t EngineBase::StopCapturer() 30 { 31 return 0; 32 } 33 34 GetWakeupPcm(std::vector<uint8_t> &)35int32_t EngineBase::GetWakeupPcm(std::vector<uint8_t> & /* data */) 36 { 37 return 0; 38 } 39 NotifyHeadsetWakeEvent()40int32_t EngineBase::NotifyHeadsetWakeEvent() 41 { 42 return 0; 43 } 44 Evaluate(const std::string &,EvaluationResult &)45int32_t EngineBase::Evaluate(const std::string & /* word */, EvaluationResult & /* result */) 46 { 47 return 0; 48 } 49 NotifyHeadsetHostEvent(HeadsetHostEventType)50int32_t EngineBase::NotifyHeadsetHostEvent(HeadsetHostEventType /* event */) 51 { 52 return 0; 53 } 54 } 55 }