AudioConfig.FromDefaultMicrophoneInput 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.
Overloads
FromDefaultMicrophoneInput() |
Creates an AudioConfig object that receives speech from the default microphone on the computer. |
FromDefaultMicrophoneInput(AudioProcessingOptions) |
Creates an AudioConfig object that receives speech from the default microphone on the computer. |
FromDefaultMicrophoneInput()
Creates an AudioConfig object that receives speech from the default microphone on the computer.
public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromDefaultMicrophoneInput ();
static member FromDefaultMicrophoneInput : unit -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromDefaultMicrophoneInput () As AudioConfig
Returns
An audio input configuration object set to provide speech from the default microphone.
Remarks
See also: Recognize from microphone
Applies to
FromDefaultMicrophoneInput(AudioProcessingOptions)
Creates an AudioConfig object that receives speech from the default microphone on the computer.
public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromDefaultMicrophoneInput (Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions audioProcessingOptions);
static member FromDefaultMicrophoneInput : Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromDefaultMicrophoneInput (audioProcessingOptions As AudioProcessingOptions) As AudioConfig
Parameters
- audioProcessingOptions
- AudioProcessingOptions
Specifies the audio processing options.
Returns
An audio input configuration object set to provide speech from the default microphone.
Remarks
See also: Recognize from microphone
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro