AudioConfig.fromMicrophoneInput(String deviceName) Method
Definition
Creates an AudioConfig object representing a specific microphone on the system.
public static com.microsoft.cognitiveservices.speech.audio.AudioConfig fromMicrophoneInput(String deviceName)
Parameters
- deviceName
- String
Specifies the platform-specific id of the audio input device. Please refer to the the online documentation about how to retrieve that id on different platforms. This functionality was added in version 1.3.0.
Returns
The audio input configuration being created.