AudioConfig.FromMicrophoneInput 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
FromMicrophoneInput(String) |
Creates an AudioConfig object that receives speech from a specific microphone on the computer. Added in 1.3.0 |
FromMicrophoneInput(String, AudioProcessingOptions) |
Creates an AudioConfig object that receives speech from a specific microphone on the computer. |
FromMicrophoneInput(String)
Creates an AudioConfig object that receives speech from a specific microphone on the computer. Added in 1.3.0
public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromMicrophoneInput (string deviceName);
static member FromMicrophoneInput : string -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromMicrophoneInput (deviceName As String) As AudioConfig
Parameters
- deviceName
- String
Specifies the device name. To retrieve platform-specific microphone names, see How to: Select an audio input device with the Speech SDK.
Returns
An audio input configuration object set to provide speech from a particular microphone.
Applies to
FromMicrophoneInput(String, AudioProcessingOptions)
Creates an AudioConfig object that receives speech from a specific microphone on the computer.
public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromMicrophoneInput (string deviceName, Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions audioProcessingOptions);
static member FromMicrophoneInput : string * Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromMicrophoneInput (deviceName As String, audioProcessingOptions As AudioProcessingOptions) As AudioConfig
Parameters
- deviceName
- String
Specifies the device name. To retrieve platform-specific microphone names, see How to: Select an audio input device with the Speech SDK.
- audioProcessingOptions
- AudioProcessingOptions
Specifies the audio processing options.
Returns
An audio input configuration object set to provide speech from a particular microphone.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기