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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for