你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HybridSpeechConfig.FromConfigs(SpeechConfig, EmbeddedSpeechConfig) 方法

定义

使用指定的云和嵌入式语音配置创建混合语音配置的实例。

public static Microsoft.CognitiveServices.Speech.HybridSpeechConfig FromConfigs (Microsoft.CognitiveServices.Speech.SpeechConfig cloudSpeechConfig, Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig embeddedSpeechConfig);
static member FromConfigs : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig -> Microsoft.CognitiveServices.Speech.HybridSpeechConfig
Public Shared Function FromConfigs (cloudSpeechConfig As SpeechConfig, embeddedSpeechConfig As EmbeddedSpeechConfig) As HybridSpeechConfig

参数

cloudSpeechConfig
SpeechConfig

云语音配置

embeddedSpeechConfig
EmbeddedSpeechConfig

嵌入式语音配置

返回

新的混合语音配置实例。

适用于