Delen via


AudioConfig.FromSpeakerOutput(String) Method

Definition

Creates an AudioConfig object that produces speech to to the specified speaker. Added in 1.14.0

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromSpeakerOutput (string deviceName);
static member FromSpeakerOutput : string -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromSpeakerOutput (deviceName As String) As AudioConfig

Parameters

deviceName
String

Specifies the device name. To retrieve platform-specific audio device names, see How to: Select an audio input device with the Speech SDK.

Returns

An audio output configuration object set to provide speech to a particular device speaker.

Applies to