AudioConfig.FromSpeakerOutput(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.