Home
last modified time | relevance | path

Searched refs:asrWhisperDetectionMode (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/asrcontroller/
H A Dnapi_asr_processing_controller.cpp345 int32_t asrWhisperDetectionMode = 0; in SetAsrWhisperDetectionMode() local
346 int32_t retMode = NapiParamUtils::GetValueInt32(env, asrWhisperDetectionMode, argv[PARAM0]); in SetAsrWhisperDetectionMode()
349 CHECK_AND_RETURN_RET_LOG(asrWhisperDetectionMode == 0 || asrWhisperDetectionMode == 1, in SetAsrWhisperDetectionMode()
354 static_cast<AsrWhisperDetectionMode>(asrWhisperDetectionMode)); in SetAsrWhisperDetectionMode()
367 AsrWhisperDetectionMode asrWhisperDetectionMode; in GetAsrWhisperDetectionMode() local
370 … int32_t res = napiAsrController->audioMngr_->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in GetAsrWhisperDetectionMode()
373 NapiParamUtils::SetValueInt32(env, int32_t(asrWhisperDetectionMode), result); in GetAsrWhisperDetectionMode()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_server_asr.cpp309 int32_t AudioServer::SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
317 auto it = WHISPER_DETECTION_MODE_MAP_VERSE.find(asrWhisperDetectionMode); in SetAsrWhisperDetectionMode()
332 int32_t AudioServer::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode& asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
357 asrWhisperDetectionMode = it->second; in GetAsrWhisperDetectionMode()
H A Daudio_manager_stub.cpp174 …AsrWhisperDetectionMode asrWhisperDetectionMode = (static_cast<AsrWhisperDetectionMode>(data.ReadI… in HandleSetAsrWhisperDetectionMode() local
175 int32_t result = SetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HandleSetAsrWhisperDetectionMode()
182 …AsrWhisperDetectionMode asrWhisperDetectionMode = (static_cast<AsrWhisperDetectionMode>(data.ReadI… in HandleGetAsrWhisperDetectionMode() local
183 int32_t ret = GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HandleGetAsrWhisperDetectionMode()
185 reply.WriteInt32(int32_t(asrWhisperDetectionMode)); in HandleGetAsrWhisperDetectionMode()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/include/
H A Daudio_manager_proxy.h83 int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) override;
84 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) override;
H A Daudio_manager_base.h114 virtual int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) = 0;
123 … virtual int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) = 0;
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Daudio_server.h90 int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) override;
91 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) override;
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_manager_proxy.cpp324 …32_t AudioManagerProxy::SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
332 data.WriteInt32(static_cast<int32_t>(asrWhisperDetectionMode)); in SetAsrWhisperDetectionMode()
341 …2_t AudioManagerProxy::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
349 data.WriteInt32(static_cast<int32_t>(asrWhisperDetectionMode)); in GetAsrWhisperDetectionMode()
355 asrWhisperDetectionMode = static_cast<AsrWhisperDetectionMode>(result); in GetAsrWhisperDetectionMode()
H A Daudio_system_manager.cpp352 …dioSystemManager::SetAsrWhisperDetectionMode(const AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
355 return gasp->SetAsrWhisperDetectionMode(asrWhisperDetectionMode); in SetAsrWhisperDetectionMode()
358 …_t AudioSystemManager::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
361 int32_t ret = gasp->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in GetAsrWhisperDetectionMode()
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/
H A Daudio_system_manager.h707 int32_t SetAsrWhisperDetectionMode(const AsrWhisperDetectionMode asrWhisperDetectionMode);
715 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode);