-
Notifications
You must be signed in to change notification settings - Fork 258
/
com.microsoft.cognitiveservices.speech.audio.AudioConfig.yml
314 lines (314 loc) · 24.9 KB
/
com.microsoft.cognitiveservices.speech.audio.AudioConfig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig"
name: "AudioConfig"
nameWithType: "AudioConfig"
summary: "Represents audio input or output configuration."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **AudioConfig**</br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.close()"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.close()"
name: "close()"
nameWithType: "AudioConfig.close()"
summary: "Explicitly frees any external resource attached to the object"
syntax: "public void close()"
desc: "Explicitly frees any external resource attached to the object"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultMicrophoneInput()"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultMicrophoneInput()"
name: "fromDefaultMicrophoneInput()"
nameWithType: "AudioConfig.fromDefaultMicrophoneInput()"
summary: "Creates an Audio<wbr>Config object representing the default microphone on the system."
modifiers:
- "static"
syntax: "public static AudioConfig fromDefaultMicrophoneInput()"
desc: "Creates an AudioConfig object representing the default microphone on the system."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultMicrophoneInput(com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultMicrophoneInput(AudioProcessingOptions audioProcessingOptions)"
name: "fromDefaultMicrophoneInput(AudioProcessingOptions audioProcessingOptions)"
nameWithType: "AudioConfig.fromDefaultMicrophoneInput(AudioProcessingOptions audioProcessingOptions)"
summary: "Creates an Audio<wbr>Config object representing the default microphone on the system."
modifiers:
- "static"
parameters:
- description: "Specifies the audio processing options."
name: "audioProcessingOptions"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromDefaultMicrophoneInput(AudioProcessingOptions audioProcessingOptions)"
desc: "Creates an AudioConfig object representing the default microphone on the system."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultSpeakerOutput()"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromDefaultSpeakerOutput()"
name: "fromDefaultSpeakerOutput()"
nameWithType: "AudioConfig.fromDefaultSpeakerOutput()"
summary: "Creates an Audio<wbr>Config object representing the default speaker on the system."
modifiers:
- "static"
syntax: "public static AudioConfig fromDefaultSpeakerOutput()"
desc: "Creates an AudioConfig object representing the default speaker on the system. Added in version 1.7.0"
returns:
description: "The audio output configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromMicrophoneInput(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromMicrophoneInput(String deviceName)"
name: "fromMicrophoneInput(String deviceName)"
nameWithType: "AudioConfig.fromMicrophoneInput(String deviceName)"
summary: "Creates an Audio<wbr>Config object representing a specific microphone on the system."
modifiers:
- "static"
parameters:
- description: "Specifies the platform-specific id of the audio input device.\n Please refer to the <a href=\"https://aka.ms/csspeech/microphone-selection\">the online documentation</a> about how to retrieve that id on different platforms.\n This functionality was added in version 1.3.0."
name: "deviceName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromMicrophoneInput(String deviceName)"
desc: "Creates an AudioConfig object representing a specific microphone on the system."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromMicrophoneInput(java.lang.String,com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromMicrophoneInput(String deviceName, AudioProcessingOptions audioProcessingOptions)"
name: "fromMicrophoneInput(String deviceName, AudioProcessingOptions audioProcessingOptions)"
nameWithType: "AudioConfig.fromMicrophoneInput(String deviceName, AudioProcessingOptions audioProcessingOptions)"
summary: "Creates an Audio<wbr>Config object representing a specific microphone on the system."
modifiers:
- "static"
parameters:
- description: "Specifies the platform-specific id of the audio input device.\n Please refer to the <a href=\"https://aka.ms/csspeech/microphone-selection\">the online documentation</a> about how to retrieve that id on different platforms."
name: "deviceName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "Specifies the audio processing options."
name: "audioProcessingOptions"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromMicrophoneInput(String deviceName, AudioProcessingOptions audioProcessingOptions)"
desc: "Creates an AudioConfig object representing a specific microphone on the system."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromSpeakerOutput(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromSpeakerOutput(String deviceName)"
name: "fromSpeakerOutput(String deviceName)"
nameWithType: "AudioConfig.fromSpeakerOutput(String deviceName)"
summary: "Creates an Audio<wbr>Config object representing a specific speaker on the system."
modifiers:
- "static"
parameters:
- description: "Specifies the platform-specific id of the audio output device.\n Added in version 1.17.0"
name: "deviceName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromSpeakerOutput(String deviceName)"
desc: "Creates an AudioConfig object representing a specific speaker on the system."
returns:
description: "The audio output configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(com.microsoft.cognitiveservices.speech.audio.AudioInputStream)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(AudioInputStream audioStream)"
name: "fromStreamInput(AudioInputStream audioStream)"
nameWithType: "AudioConfig.fromStreamInput(AudioInputStream audioStream)"
summary: "Creates an Audio<wbr>Config object representing the specified stream."
modifiers:
- "static"
parameters:
- description: "Specifies the custom audio input stream."
name: "audioStream"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream&text=AudioInputStream\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromStreamInput(AudioInputStream audioStream)"
desc: "Creates an AudioConfig object representing the specified stream."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(com.microsoft.cognitiveservices.speech.audio.AudioInputStream,com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(AudioInputStream audioStream, AudioProcessingOptions audioProcessingOptions)"
name: "fromStreamInput(AudioInputStream audioStream, AudioProcessingOptions audioProcessingOptions)"
nameWithType: "AudioConfig.fromStreamInput(AudioInputStream audioStream, AudioProcessingOptions audioProcessingOptions)"
summary: "Creates an Audio<wbr>Config object representing the specified stream."
modifiers:
- "static"
parameters:
- description: "Specifies the custom audio input stream."
name: "audioStream"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream&text=AudioInputStream\" data-throw-if-not-resolved=\"False\" />"
- description: "Specifies the audio processing options."
name: "audioProcessingOptions"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromStreamInput(AudioInputStream audioStream, AudioProcessingOptions audioProcessingOptions)"
desc: "Creates an AudioConfig object representing the specified stream."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(PullAudioInputStreamCallback callback)"
name: "fromStreamInput(PullAudioInputStreamCallback callback)"
nameWithType: "AudioConfig.fromStreamInput(PullAudioInputStreamCallback callback)"
summary: "Creates an Audio<wbr>Config object representing the specified stream."
modifiers:
- "static"
parameters:
- description: "Specifies the pull audio input stream callback."
name: "callback"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback?alt=com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback&text=PullAudioInputStreamCallback\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromStreamInput(PullAudioInputStreamCallback callback)"
desc: "Creates an AudioConfig object representing the specified stream."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback,com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamInput(PullAudioInputStreamCallback callback, AudioProcessingOptions audioProcessingOptions)"
name: "fromStreamInput(PullAudioInputStreamCallback callback, AudioProcessingOptions audioProcessingOptions)"
nameWithType: "AudioConfig.fromStreamInput(PullAudioInputStreamCallback callback, AudioProcessingOptions audioProcessingOptions)"
summary: "Creates an Audio<wbr>Config object representing the specified stream."
modifiers:
- "static"
parameters:
- description: "Specifies the pull audio input stream callback."
name: "callback"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback?alt=com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback&text=PullAudioInputStreamCallback\" data-throw-if-not-resolved=\"False\" />"
- description: "Specifies the audio processing options."
name: "audioProcessingOptions"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromStreamInput(PullAudioInputStreamCallback callback, AudioProcessingOptions audioProcessingOptions)"
desc: "Creates an AudioConfig object representing the specified stream."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamOutput(com.microsoft.cognitiveservices.speech.audio.AudioOutputStream)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromStreamOutput(AudioOutputStream audioStream)"
name: "fromStreamOutput(AudioOutputStream audioStream)"
nameWithType: "AudioConfig.fromStreamOutput(AudioOutputStream audioStream)"
summary: "Creates an Audio<wbr>Config object representing the specified stream."
modifiers:
- "static"
parameters:
- description: "Specifies the custom audio output stream."
name: "audioStream"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioOutputStream?alt=com.microsoft.cognitiveservices.speech.audio.AudioOutputStream&text=AudioOutputStream\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromStreamOutput(AudioOutputStream audioStream)"
desc: "Creates an AudioConfig object representing the specified stream. Added in version 1.7.0"
returns:
description: "The audio output configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileInput(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileInput(String fileName)"
name: "fromWavFileInput(String fileName)"
nameWithType: "AudioConfig.fromWavFileInput(String fileName)"
summary: "Creates an Audio<wbr>Config object representing the specified file."
modifiers:
- "static"
parameters:
- description: "Specifies the audio input file."
name: "fileName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromWavFileInput(String fileName)"
desc: "Creates an AudioConfig object representing the specified file."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileInput(java.lang.String,com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileInput(String fileName, AudioProcessingOptions audioProcessingOptions)"
name: "fromWavFileInput(String fileName, AudioProcessingOptions audioProcessingOptions)"
nameWithType: "AudioConfig.fromWavFileInput(String fileName, AudioProcessingOptions audioProcessingOptions)"
summary: "Creates an Audio<wbr>Config object representing the specified file."
modifiers:
- "static"
parameters:
- description: "Specifies the audio input file."
name: "fileName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "Specifies the audio processing options."
name: "audioProcessingOptions"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromWavFileInput(String fileName, AudioProcessingOptions audioProcessingOptions)"
desc: "Creates an AudioConfig object representing the specified file."
returns:
description: "The audio input configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileOutput(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.fromWavFileOutput(String fileName)"
name: "fromWavFileOutput(String fileName)"
nameWithType: "AudioConfig.fromWavFileOutput(String fileName)"
summary: "Creates an Audio<wbr>Config object representing the specified file."
modifiers:
- "static"
parameters:
- description: "Specifies the audio output file. The parent directory must already exist."
name: "fileName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AudioConfig fromWavFileOutput(String fileName)"
desc: "Creates an AudioConfig object representing the specified file. Added in version 1.7.0"
returns:
description: "The audio output configuration being created."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.getAudioProcessingOptions()"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.getAudioProcessingOptions()"
name: "getAudioProcessingOptions()"
nameWithType: "AudioConfig.getAudioProcessingOptions()"
summary: "Returns an Audio<wbr>Processing<wbr>Options object which contains the parameters used for audio processing."
syntax: "public AudioProcessingOptions getAudioProcessingOptions()"
desc: "Returns an AudioProcessingOptions object which contains the parameters used for audio processing."
returns:
description: "The audio processing options."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions?alt=com.microsoft.cognitiveservices.speech.audio.AudioProcessingOptions&text=AudioProcessingOptions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.getImpl()"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.getImpl()"
name: "getImpl()"
nameWithType: "AudioConfig.getImpl()"
summary: "Returns the audio input configuration."
syntax: "public SafeHandle getImpl()"
desc: "Returns the audio input configuration."
returns:
description: "The implementation of the config."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.setProperty(com.microsoft.cognitiveservices.speech.PropertyId,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.setProperty(PropertyId id, String value)"
name: "setProperty(PropertyId id, String value)"
nameWithType: "AudioConfig.setProperty(PropertyId id, String value)"
summary: "Sets the property by property<wbr>Id."
parameters:
- description: "PropertyId of the property."
name: "id"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PropertyId?alt=com.microsoft.cognitiveservices.speech.PropertyId&text=PropertyId\" data-throw-if-not-resolved=\"False\" />"
- description: "The value."
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setProperty(PropertyId id, String value)"
desc: "Sets the property by propertyId."
- uid: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.setProperty(java.lang.String,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.audio.AudioConfig.setProperty(String name, String value)"
name: "setProperty(String name, String value)"
nameWithType: "AudioConfig.setProperty(String name, String value)"
summary: "Sets a named property as value."
parameters:
- description: "the name of the property."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the value."
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setProperty(String name, String value)"
desc: "Sets a named property as value."
type: "class"
desc: "Represents audio input or output configuration. Audio input can be from a microphone, file, or input stream. Audio output can be to a speaker, audio file output in WAV format, or output stream. Note: close() must be called in order to release underlying resources held by the object. Updated in version 1.7.0"
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech.audio"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0