react-native-davoice-tts 1.0.218 → 1.0.220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/TTSRNBridge.podspec +1 -1
  2. package/ios/SpeechBridge/SpeechBridge.m +153 -0
  3. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
  4. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +7 -0
  5. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +1324 -1238
  6. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -12
  7. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  8. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +14 -12
  9. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
  10. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +14 -0
  11. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +3405 -3319
  12. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +34 -32
  13. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  14. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +34 -32
  15. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +3405 -3319
  16. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +34 -32
  17. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  18. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +34 -32
  19. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
  20. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
  21. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +33 -108
  22. package/package.json +1 -1
  23. package/speech/index.ts +106 -0
  24. package/android/src/main/java/com/davoice/tts/rn/DaVoiceTTSPackage.java_old_using_new_for_both_stt_and_tts +0 -26
  25. package/ios/STTRNBridge/STTBridge.m_wtf +0 -109
  26. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT copy.swift____ +0 -1202
  27. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift.bkup +0 -1000
  28. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift.latest +0 -1359
  29. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift1.swift__ +0 -1134
  30. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift__ +0 -1329
  31. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT copy.swift____ +0 -1202
  32. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift.bkup +0 -1000
  33. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift.latest +0 -1359
  34. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift1.swift__ +0 -1134
  35. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift__ +0 -1329
@@ -16,158 +16,83 @@
16
16
  },
17
17
  {
18
18
  "kind": "Import",
19
- "name": "UIKit",
20
- "printedName": "UIKit",
21
- "declKind": "Import",
22
- "moduleName": "DavoiceTTS"
23
- },
24
- {
25
- "kind": "Import",
26
- "name": "Speech",
27
- "printedName": "Speech",
28
- "declKind": "Import",
29
- "moduleName": "DavoiceTTS"
30
- },
31
- {
32
- "kind": "Import",
33
- "name": "Accelerate",
34
- "printedName": "Accelerate",
35
- "declKind": "Import",
36
- "moduleName": "DavoiceTTS"
37
- },
38
- {
39
- "kind": "Import",
40
- "name": "AVFAudio",
41
- "printedName": "AVFAudio",
19
+ "name": "AVFoundation",
20
+ "printedName": "AVFoundation",
42
21
  "declKind": "Import",
43
22
  "moduleName": "DavoiceTTS"
44
23
  },
45
24
  {
46
25
  "kind": "TypeDecl",
47
- "name": "STTDelegate",
48
- "printedName": "STTDelegate",
26
+ "name": "AudioPlaybackHook",
27
+ "printedName": "AudioPlaybackHook",
49
28
  "children": [
50
29
  {
51
- "kind": "Function",
52
- "name": "stt",
53
- "printedName": "stt(_:didEmitEvent:body:)",
30
+ "kind": "Var",
31
+ "name": "engineScheduleFile",
32
+ "printedName": "engineScheduleFile",
54
33
  "children": [
55
- {
56
- "kind": "TypeNominal",
57
- "name": "Void",
58
- "printedName": "()"
59
- },
60
- {
61
- "kind": "TypeNominal",
62
- "name": "STT",
63
- "printedName": "DavoiceTTS.STT",
64
- "usr": "c:@M@DavoiceTTS@objc(cs)STT"
65
- },
66
- {
67
- "kind": "TypeNominal",
68
- "name": "String",
69
- "printedName": "Swift.String",
70
- "usr": "s:SS"
71
- },
72
34
  {
73
35
  "kind": "TypeNominal",
74
36
  "name": "Optional",
75
- "printedName": "[Swift.String : Any]?",
37
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
76
38
  "children": [
77
39
  {
78
- "kind": "TypeNominal",
79
- "name": "Dictionary",
80
- "printedName": "[Swift.String : Any]",
40
+ "kind": "TypeFunc",
41
+ "name": "Function",
42
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
81
43
  "children": [
82
44
  {
83
45
  "kind": "TypeNominal",
84
- "name": "String",
85
- "printedName": "Swift.String",
86
- "usr": "s:SS"
46
+ "name": "Bool",
47
+ "printedName": "Swift.Bool",
48
+ "usr": "s:Sb"
87
49
  },
88
50
  {
89
51
  "kind": "TypeNominal",
90
- "name": "ProtocolComposition",
91
- "printedName": "Any"
52
+ "name": "Tuple",
53
+ "printedName": "(Foundation.URL, () -> ())",
54
+ "children": [
55
+ {
56
+ "kind": "TypeNominal",
57
+ "name": "URL",
58
+ "printedName": "Foundation.URL",
59
+ "usr": "s:10Foundation3URLV"
60
+ },
61
+ {
62
+ "kind": "TypeFunc",
63
+ "name": "Function",
64
+ "printedName": "() -> ()",
65
+ "children": [
66
+ {
67
+ "kind": "TypeNominal",
68
+ "name": "Void",
69
+ "printedName": "()"
70
+ },
71
+ {
72
+ "kind": "TypeNominal",
73
+ "name": "Void",
74
+ "printedName": "()"
75
+ }
76
+ ]
77
+ }
78
+ ]
92
79
  }
93
- ],
94
- "usr": "s:SD"
80
+ ]
95
81
  }
96
82
  ],
97
83
  "usr": "s:Sq"
98
84
  }
99
85
  ],
100
- "declKind": "Func",
101
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate(im)stt:didEmitEvent:body:",
102
- "mangledName": "$s10DavoiceTTS11STTDelegateP3stt_12didEmitEvent4bodyyAA3STTC_SSSDySSypGSgtF",
103
- "moduleName": "DavoiceTTS",
104
- "genericSig": "<τ_0_0 where τ_0_0 : DavoiceTTS.STTDelegate>",
105
- "sugared_genericSig": "<Self where Self : DavoiceTTS.STTDelegate>",
106
- "protocolReq": true,
107
- "declAttributes": [
108
- "ObjC"
109
- ],
110
- "reqNewWitnessTableEntry": true,
111
- "funcSelfKind": "NonMutating"
112
- }
113
- ],
114
- "declKind": "Protocol",
115
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate",
116
- "mangledName": "$s10DavoiceTTS11STTDelegateP",
117
- "moduleName": "DavoiceTTS",
118
- "genericSig": "<τ_0_0 : AnyObject>",
119
- "sugared_genericSig": "<Self : AnyObject>",
120
- "declAttributes": [
121
- "AccessControl",
122
- "ObjC",
123
- "RawDocComment"
124
- ],
125
- "conformances": [
126
- {
127
- "kind": "Conformance",
128
- "name": "Escapable",
129
- "printedName": "Escapable",
130
- "usr": "s:s9EscapableP",
131
- "mangledName": "$ss9EscapableP"
132
- },
133
- {
134
- "kind": "Conformance",
135
- "name": "Copyable",
136
- "printedName": "Copyable",
137
- "usr": "s:s8CopyableP",
138
- "mangledName": "$ss8CopyableP"
139
- }
140
- ]
141
- },
142
- {
143
- "kind": "TypeDecl",
144
- "name": "STT",
145
- "printedName": "STT",
146
- "children": [
147
- {
148
- "kind": "Var",
149
- "name": "delegate",
150
- "printedName": "delegate",
151
- "children": [
152
- {
153
- "kind": "TypeNominal",
154
- "name": "WeakStorage",
155
- "printedName": "(any DavoiceTTS.STTDelegate)?"
156
- }
157
- ],
158
86
  "declKind": "Var",
159
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)delegate",
160
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvp",
87
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
88
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
161
89
  "moduleName": "DavoiceTTS",
90
+ "static": true,
162
91
  "declAttributes": [
163
92
  "HasInitialValue",
164
- "Final",
165
93
  "HasStorage",
166
- "ReferenceOwnership",
167
- "AccessControl",
168
- "ObjC"
94
+ "AccessControl"
169
95
  ],
170
- "ownership": 1,
171
96
  "hasStorage": true,
172
97
  "accessors": [
173
98
  {
@@ -178,27 +103,61 @@
178
103
  {
179
104
  "kind": "TypeNominal",
180
105
  "name": "Optional",
181
- "printedName": "(any DavoiceTTS.STTDelegate)?",
106
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
182
107
  "children": [
183
108
  {
184
- "kind": "TypeNominal",
185
- "name": "STTDelegate",
186
- "printedName": "any DavoiceTTS.STTDelegate",
187
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
109
+ "kind": "TypeFunc",
110
+ "name": "Function",
111
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
112
+ "children": [
113
+ {
114
+ "kind": "TypeNominal",
115
+ "name": "Bool",
116
+ "printedName": "Swift.Bool",
117
+ "usr": "s:Sb"
118
+ },
119
+ {
120
+ "kind": "TypeNominal",
121
+ "name": "Tuple",
122
+ "printedName": "(Foundation.URL, () -> ())",
123
+ "children": [
124
+ {
125
+ "kind": "TypeNominal",
126
+ "name": "URL",
127
+ "printedName": "Foundation.URL",
128
+ "usr": "s:10Foundation3URLV"
129
+ },
130
+ {
131
+ "kind": "TypeFunc",
132
+ "name": "Function",
133
+ "printedName": "() -> ()",
134
+ "children": [
135
+ {
136
+ "kind": "TypeNominal",
137
+ "name": "Void",
138
+ "printedName": "()"
139
+ },
140
+ {
141
+ "kind": "TypeNominal",
142
+ "name": "Void",
143
+ "printedName": "()"
144
+ }
145
+ ]
146
+ }
147
+ ]
148
+ }
149
+ ]
188
150
  }
189
151
  ],
190
152
  "usr": "s:Sq"
191
153
  }
192
154
  ],
193
155
  "declKind": "Accessor",
194
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)delegate",
195
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvg",
156
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
157
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
196
158
  "moduleName": "DavoiceTTS",
159
+ "static": true,
197
160
  "implicit": true,
198
- "declAttributes": [
199
- "Final",
200
- "ObjC"
201
- ],
202
161
  "accessorKind": "get"
203
162
  },
204
163
  {
@@ -214,74 +173,125 @@
214
173
  {
215
174
  "kind": "TypeNominal",
216
175
  "name": "Optional",
217
- "printedName": "(any DavoiceTTS.STTDelegate)?",
176
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
218
177
  "children": [
219
178
  {
220
- "kind": "TypeNominal",
221
- "name": "STTDelegate",
222
- "printedName": "any DavoiceTTS.STTDelegate",
223
- "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
224
- }
225
- ],
226
- "usr": "s:Sq"
227
- }
228
- ],
229
- "declKind": "Accessor",
230
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setDelegate:",
231
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvs",
232
- "moduleName": "DavoiceTTS",
233
- "implicit": true,
234
- "declAttributes": [
235
- "Final",
236
- "ObjC"
237
- ],
238
- "accessorKind": "set"
239
- },
240
- {
241
- "kind": "Accessor",
242
- "name": "Modify",
243
- "printedName": "Modify()",
244
- "children": [
245
- {
246
- "kind": "TypeNominal",
247
- "name": "Void",
248
- "printedName": "()"
249
- }
250
- ],
179
+ "kind": "TypeFunc",
180
+ "name": "Function",
181
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
182
+ "children": [
183
+ {
184
+ "kind": "TypeNominal",
185
+ "name": "Bool",
186
+ "printedName": "Swift.Bool",
187
+ "usr": "s:Sb"
188
+ },
189
+ {
190
+ "kind": "TypeNominal",
191
+ "name": "Tuple",
192
+ "printedName": "(Foundation.URL, () -> ())",
193
+ "children": [
194
+ {
195
+ "kind": "TypeNominal",
196
+ "name": "URL",
197
+ "printedName": "Foundation.URL",
198
+ "usr": "s:10Foundation3URLV"
199
+ },
200
+ {
201
+ "kind": "TypeFunc",
202
+ "name": "Function",
203
+ "printedName": "() -> ()",
204
+ "children": [
205
+ {
206
+ "kind": "TypeNominal",
207
+ "name": "Void",
208
+ "printedName": "()"
209
+ },
210
+ {
211
+ "kind": "TypeNominal",
212
+ "name": "Void",
213
+ "printedName": "()"
214
+ }
215
+ ]
216
+ }
217
+ ]
218
+ }
219
+ ]
220
+ }
221
+ ],
222
+ "usr": "s:Sq"
223
+ }
224
+ ],
251
225
  "declKind": "Accessor",
252
- "usr": "s:10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
253
- "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
226
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
227
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
254
228
  "moduleName": "DavoiceTTS",
229
+ "static": true,
255
230
  "implicit": true,
256
- "declAttributes": [
257
- "Final"
231
+ "accessorKind": "set"
232
+ },
233
+ {
234
+ "kind": "Accessor",
235
+ "name": "Modify",
236
+ "printedName": "Modify()",
237
+ "children": [
238
+ {
239
+ "kind": "TypeNominal",
240
+ "name": "Void",
241
+ "printedName": "()"
242
+ }
258
243
  ],
244
+ "declKind": "Accessor",
245
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
246
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
247
+ "moduleName": "DavoiceTTS",
248
+ "static": true,
249
+ "implicit": true,
259
250
  "accessorKind": "_modify"
260
251
  }
261
252
  ]
262
253
  },
263
254
  {
264
255
  "kind": "Var",
265
- "name": "continuous",
266
- "printedName": "continuous",
256
+ "name": "isEngineReady",
257
+ "printedName": "isEngineReady",
267
258
  "children": [
268
259
  {
269
260
  "kind": "TypeNominal",
270
- "name": "Bool",
271
- "printedName": "Swift.Bool",
272
- "usr": "s:Sb"
261
+ "name": "Optional",
262
+ "printedName": "(() -> Swift.Bool)?",
263
+ "children": [
264
+ {
265
+ "kind": "TypeFunc",
266
+ "name": "Function",
267
+ "printedName": "() -> Swift.Bool",
268
+ "children": [
269
+ {
270
+ "kind": "TypeNominal",
271
+ "name": "Bool",
272
+ "printedName": "Swift.Bool",
273
+ "usr": "s:Sb"
274
+ },
275
+ {
276
+ "kind": "TypeNominal",
277
+ "name": "Void",
278
+ "printedName": "()"
279
+ }
280
+ ]
281
+ }
282
+ ],
283
+ "usr": "s:Sq"
273
284
  }
274
285
  ],
275
286
  "declKind": "Var",
276
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)continuous",
277
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvp",
287
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
288
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
278
289
  "moduleName": "DavoiceTTS",
290
+ "static": true,
279
291
  "declAttributes": [
280
292
  "HasInitialValue",
281
- "Final",
282
293
  "HasStorage",
283
- "AccessControl",
284
- "ObjC"
294
+ "AccessControl"
285
295
  ],
286
296
  "hasStorage": true,
287
297
  "accessors": [
@@ -292,20 +302,37 @@
292
302
  "children": [
293
303
  {
294
304
  "kind": "TypeNominal",
295
- "name": "Bool",
296
- "printedName": "Swift.Bool",
297
- "usr": "s:Sb"
305
+ "name": "Optional",
306
+ "printedName": "(() -> Swift.Bool)?",
307
+ "children": [
308
+ {
309
+ "kind": "TypeFunc",
310
+ "name": "Function",
311
+ "printedName": "() -> Swift.Bool",
312
+ "children": [
313
+ {
314
+ "kind": "TypeNominal",
315
+ "name": "Bool",
316
+ "printedName": "Swift.Bool",
317
+ "usr": "s:Sb"
318
+ },
319
+ {
320
+ "kind": "TypeNominal",
321
+ "name": "Void",
322
+ "printedName": "()"
323
+ }
324
+ ]
325
+ }
326
+ ],
327
+ "usr": "s:Sq"
298
328
  }
299
329
  ],
300
330
  "declKind": "Accessor",
301
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)continuous",
302
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvg",
331
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
332
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
303
333
  "moduleName": "DavoiceTTS",
334
+ "static": true,
304
335
  "implicit": true,
305
- "declAttributes": [
306
- "Final",
307
- "ObjC"
308
- ],
309
336
  "accessorKind": "get"
310
337
  },
311
338
  {
@@ -320,20 +347,37 @@
320
347
  },
321
348
  {
322
349
  "kind": "TypeNominal",
323
- "name": "Bool",
324
- "printedName": "Swift.Bool",
325
- "usr": "s:Sb"
350
+ "name": "Optional",
351
+ "printedName": "(() -> Swift.Bool)?",
352
+ "children": [
353
+ {
354
+ "kind": "TypeFunc",
355
+ "name": "Function",
356
+ "printedName": "() -> Swift.Bool",
357
+ "children": [
358
+ {
359
+ "kind": "TypeNominal",
360
+ "name": "Bool",
361
+ "printedName": "Swift.Bool",
362
+ "usr": "s:Sb"
363
+ },
364
+ {
365
+ "kind": "TypeNominal",
366
+ "name": "Void",
367
+ "printedName": "()"
368
+ }
369
+ ]
370
+ }
371
+ ],
372
+ "usr": "s:Sq"
326
373
  }
327
374
  ],
328
375
  "declKind": "Accessor",
329
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setContinuous:",
330
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvs",
376
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
377
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
331
378
  "moduleName": "DavoiceTTS",
379
+ "static": true,
332
380
  "implicit": true,
333
- "declAttributes": [
334
- "Final",
335
- "ObjC"
336
- ],
337
381
  "accessorKind": "set"
338
382
  },
339
383
  {
@@ -348,51 +392,57 @@
348
392
  }
349
393
  ],
350
394
  "declKind": "Accessor",
351
- "usr": "s:10DavoiceTTS3STTC10continuousSbvM",
352
- "mangledName": "$s10DavoiceTTS3STTC10continuousSbvM",
395
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
396
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
353
397
  "moduleName": "DavoiceTTS",
398
+ "static": true,
354
399
  "implicit": true,
355
- "declAttributes": [
356
- "Final"
357
- ],
358
400
  "accessorKind": "_modify"
359
401
  }
360
402
  ]
361
403
  },
362
404
  {
363
405
  "kind": "Var",
364
- "name": "supportedEvents",
365
- "printedName": "supportedEvents",
406
+ "name": "useOnlyEnginePlayback",
407
+ "printedName": "useOnlyEnginePlayback",
366
408
  "children": [
367
409
  {
368
410
  "kind": "TypeNominal",
369
- "name": "Array",
370
- "printedName": "[Swift.String]",
411
+ "name": "Optional",
412
+ "printedName": "(() -> Swift.Bool)?",
371
413
  "children": [
372
414
  {
373
- "kind": "TypeNominal",
374
- "name": "String",
375
- "printedName": "Swift.String",
376
- "usr": "s:SS"
415
+ "kind": "TypeFunc",
416
+ "name": "Function",
417
+ "printedName": "() -> Swift.Bool",
418
+ "children": [
419
+ {
420
+ "kind": "TypeNominal",
421
+ "name": "Bool",
422
+ "printedName": "Swift.Bool",
423
+ "usr": "s:Sb"
424
+ },
425
+ {
426
+ "kind": "TypeNominal",
427
+ "name": "Void",
428
+ "printedName": "()"
429
+ }
430
+ ]
377
431
  }
378
432
  ],
379
- "usr": "s:Sa"
433
+ "usr": "s:Sq"
380
434
  }
381
435
  ],
382
436
  "declKind": "Var",
383
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(cpy)supportedEvents",
384
- "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvpZ",
437
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
438
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
385
439
  "moduleName": "DavoiceTTS",
386
440
  "static": true,
387
441
  "declAttributes": [
388
442
  "HasInitialValue",
389
- "Final",
390
443
  "HasStorage",
391
- "AccessControl",
392
- "RawDocComment",
393
- "ObjC"
444
+ "AccessControl"
394
445
  ],
395
- "isLet": true,
396
446
  "hasStorage": true,
397
447
  "accessors": [
398
448
  {
@@ -402,91 +452,43 @@
402
452
  "children": [
403
453
  {
404
454
  "kind": "TypeNominal",
405
- "name": "Array",
406
- "printedName": "[Swift.String]",
455
+ "name": "Optional",
456
+ "printedName": "(() -> Swift.Bool)?",
407
457
  "children": [
408
458
  {
409
- "kind": "TypeNominal",
410
- "name": "String",
411
- "printedName": "Swift.String",
412
- "usr": "s:SS"
459
+ "kind": "TypeFunc",
460
+ "name": "Function",
461
+ "printedName": "() -> Swift.Bool",
462
+ "children": [
463
+ {
464
+ "kind": "TypeNominal",
465
+ "name": "Bool",
466
+ "printedName": "Swift.Bool",
467
+ "usr": "s:Sb"
468
+ },
469
+ {
470
+ "kind": "TypeNominal",
471
+ "name": "Void",
472
+ "printedName": "()"
473
+ }
474
+ ]
413
475
  }
414
476
  ],
415
- "usr": "s:Sa"
477
+ "usr": "s:Sq"
416
478
  }
417
479
  ],
418
480
  "declKind": "Accessor",
419
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(cm)supportedEvents",
420
- "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvgZ",
481
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
482
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
421
483
  "moduleName": "DavoiceTTS",
422
484
  "static": true,
423
485
  "implicit": true,
424
- "declAttributes": [
425
- "Final",
426
- "ObjC"
427
- ],
428
486
  "accessorKind": "get"
429
- }
430
- ]
431
- },
432
- {
433
- "kind": "Function",
434
- "name": "unPauseMicrophone",
435
- "printedName": "unPauseMicrophone()",
436
- "children": [
437
- {
438
- "kind": "TypeNominal",
439
- "name": "Void",
440
- "printedName": "()"
441
- }
442
- ],
443
- "declKind": "Func",
444
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
445
- "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
446
- "moduleName": "DavoiceTTS",
447
- "declAttributes": [
448
- "Final",
449
- "AccessControl",
450
- "ObjC"
451
- ],
452
- "funcSelfKind": "NonMutating"
453
- },
454
- {
455
- "kind": "Function",
456
- "name": "pauseMicrophone",
457
- "printedName": "pauseMicrophone()",
458
- "children": [
459
- {
460
- "kind": "TypeNominal",
461
- "name": "Void",
462
- "printedName": "()"
463
- }
464
- ],
465
- "declKind": "Func",
466
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
467
- "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
468
- "moduleName": "DavoiceTTS",
469
- "declAttributes": [
470
- "Final",
471
- "AccessControl",
472
- "ObjC"
473
- ],
474
- "funcSelfKind": "NonMutating"
475
- },
476
- {
477
- "kind": "Function",
478
- "name": "isSpeechAvailable",
479
- "printedName": "isSpeechAvailable(_:)",
480
- "children": [
481
- {
482
- "kind": "TypeNominal",
483
- "name": "Void",
484
- "printedName": "()"
485
487
  },
486
488
  {
487
- "kind": "TypeFunc",
488
- "name": "Function",
489
- "printedName": "(Swift.Bool) -> ()",
489
+ "kind": "Accessor",
490
+ "name": "Set",
491
+ "printedName": "Set()",
490
492
  "children": [
491
493
  {
492
494
  "kind": "TypeNominal",
@@ -495,103 +497,74 @@
495
497
  },
496
498
  {
497
499
  "kind": "TypeNominal",
498
- "name": "Bool",
499
- "printedName": "Swift.Bool",
500
- "usr": "s:Sb"
500
+ "name": "Optional",
501
+ "printedName": "(() -> Swift.Bool)?",
502
+ "children": [
503
+ {
504
+ "kind": "TypeFunc",
505
+ "name": "Function",
506
+ "printedName": "() -> Swift.Bool",
507
+ "children": [
508
+ {
509
+ "kind": "TypeNominal",
510
+ "name": "Bool",
511
+ "printedName": "Swift.Bool",
512
+ "usr": "s:Sb"
513
+ },
514
+ {
515
+ "kind": "TypeNominal",
516
+ "name": "Void",
517
+ "printedName": "()"
518
+ }
519
+ ]
520
+ }
521
+ ],
522
+ "usr": "s:Sq"
501
523
  }
502
- ]
503
- }
504
- ],
505
- "declKind": "Func",
506
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
507
- "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
508
- "moduleName": "DavoiceTTS",
509
- "declAttributes": [
510
- "Final",
511
- "AccessControl",
512
- "RawDocComment",
513
- "ObjC"
514
- ],
515
- "funcSelfKind": "NonMutating"
516
- },
517
- {
518
- "kind": "Function",
519
- "name": "isRecognizing",
520
- "printedName": "isRecognizing()",
521
- "children": [
522
- {
523
- "kind": "TypeNominal",
524
- "name": "Bool",
525
- "printedName": "Swift.Bool",
526
- "usr": "s:Sb"
527
- }
528
- ],
529
- "declKind": "Func",
530
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
531
- "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
532
- "moduleName": "DavoiceTTS",
533
- "declAttributes": [
534
- "Final",
535
- "AccessControl",
536
- "ObjC"
537
- ],
538
- "funcSelfKind": "NonMutating"
539
- },
540
- {
541
- "kind": "Function",
542
- "name": "startSpeech",
543
- "printedName": "startSpeech(localeStr:)",
544
- "children": [
545
- {
546
- "kind": "TypeNominal",
547
- "name": "Void",
548
- "printedName": "()"
524
+ ],
525
+ "declKind": "Accessor",
526
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
527
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
528
+ "moduleName": "DavoiceTTS",
529
+ "static": true,
530
+ "implicit": true,
531
+ "accessorKind": "set"
549
532
  },
550
533
  {
551
- "kind": "TypeNominal",
552
- "name": "Optional",
553
- "printedName": "Swift.String?",
534
+ "kind": "Accessor",
535
+ "name": "Modify",
536
+ "printedName": "Modify()",
554
537
  "children": [
555
538
  {
556
539
  "kind": "TypeNominal",
557
- "name": "String",
558
- "printedName": "Swift.String",
559
- "usr": "s:SS"
540
+ "name": "Void",
541
+ "printedName": "()"
560
542
  }
561
543
  ],
562
- "usr": "s:Sq"
544
+ "declKind": "Accessor",
545
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
546
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
547
+ "moduleName": "DavoiceTTS",
548
+ "static": true,
549
+ "implicit": true,
550
+ "accessorKind": "_modify"
563
551
  }
564
- ],
565
- "declKind": "Func",
566
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)startSpeechWithLocaleStr:",
567
- "mangledName": "$s10DavoiceTTS3STTC11startSpeech9localeStrySSSg_tF",
568
- "moduleName": "DavoiceTTS",
569
- "declAttributes": [
570
- "Final",
571
- "AccessControl",
572
- "ObjC"
573
- ],
574
- "funcSelfKind": "NonMutating"
552
+ ]
575
553
  },
576
554
  {
577
- "kind": "Function",
578
- "name": "stopSpeech",
579
- "printedName": "stopSpeech(_:)",
555
+ "kind": "Var",
556
+ "name": "stopEnginePlayback",
557
+ "printedName": "stopEnginePlayback",
580
558
  "children": [
581
- {
582
- "kind": "TypeNominal",
583
- "name": "Void",
584
- "printedName": "()"
585
- },
586
559
  {
587
560
  "kind": "TypeNominal",
588
561
  "name": "Optional",
589
- "printedName": "((Swift.Bool) -> ())?",
562
+ "printedName": "(() -> ())?",
590
563
  "children": [
591
564
  {
592
565
  "kind": "TypeFunc",
593
566
  "name": "Function",
594
- "printedName": "(Swift.Bool) -> ()",
567
+ "printedName": "() -> ()",
595
568
  "children": [
596
569
  {
597
570
  "kind": "TypeNominal",
@@ -600,225 +573,313 @@
600
573
  },
601
574
  {
602
575
  "kind": "TypeNominal",
603
- "name": "Bool",
604
- "printedName": "Swift.Bool",
605
- "usr": "s:Sb"
576
+ "name": "Void",
577
+ "printedName": "()"
606
578
  }
607
579
  ]
608
580
  }
609
581
  ],
610
- "hasDefaultArg": true,
611
582
  "usr": "s:Sq"
612
583
  }
613
584
  ],
614
- "declKind": "Func",
615
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)stopSpeech:",
616
- "mangledName": "$s10DavoiceTTS3STTC10stopSpeechyyySbcSgF",
585
+ "declKind": "Var",
586
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
587
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
617
588
  "moduleName": "DavoiceTTS",
589
+ "static": true,
618
590
  "declAttributes": [
619
- "Final",
620
- "AccessControl",
621
- "ObjC"
591
+ "HasInitialValue",
592
+ "HasStorage",
593
+ "AccessControl"
622
594
  ],
623
- "funcSelfKind": "NonMutating"
624
- },
625
- {
626
- "kind": "Function",
627
- "name": "cancelSpeech",
628
- "printedName": "cancelSpeech(_:)",
629
- "children": [
630
- {
631
- "kind": "TypeNominal",
632
- "name": "Void",
633
- "printedName": "()"
634
- },
595
+ "hasStorage": true,
596
+ "accessors": [
635
597
  {
636
- "kind": "TypeNominal",
637
- "name": "Optional",
638
- "printedName": "((Swift.Bool) -> ())?",
598
+ "kind": "Accessor",
599
+ "name": "Get",
600
+ "printedName": "Get()",
639
601
  "children": [
640
602
  {
641
- "kind": "TypeFunc",
642
- "name": "Function",
643
- "printedName": "(Swift.Bool) -> ()",
603
+ "kind": "TypeNominal",
604
+ "name": "Optional",
605
+ "printedName": "(() -> ())?",
644
606
  "children": [
645
607
  {
646
- "kind": "TypeNominal",
647
- "name": "Void",
648
- "printedName": "()"
649
- },
650
- {
651
- "kind": "TypeNominal",
652
- "name": "Bool",
653
- "printedName": "Swift.Bool",
654
- "usr": "s:Sb"
655
- }
656
- ]
657
- }
658
- ],
659
- "hasDefaultArg": true,
660
- "usr": "s:Sq"
661
- }
662
- ],
663
- "declKind": "Func",
664
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)cancelSpeech:",
665
- "mangledName": "$s10DavoiceTTS3STTC12cancelSpeechyyySbcSgF",
666
- "moduleName": "DavoiceTTS",
667
- "declAttributes": [
668
- "Final",
669
- "AccessControl",
670
- "ObjC"
671
- ],
672
- "funcSelfKind": "NonMutating"
608
+ "kind": "TypeFunc",
609
+ "name": "Function",
610
+ "printedName": "() -> ()",
611
+ "children": [
612
+ {
613
+ "kind": "TypeNominal",
614
+ "name": "Void",
615
+ "printedName": "()"
616
+ },
617
+ {
618
+ "kind": "TypeNominal",
619
+ "name": "Void",
620
+ "printedName": "()"
621
+ }
622
+ ]
623
+ }
624
+ ],
625
+ "usr": "s:Sq"
626
+ }
627
+ ],
628
+ "declKind": "Accessor",
629
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
630
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
631
+ "moduleName": "DavoiceTTS",
632
+ "static": true,
633
+ "implicit": true,
634
+ "accessorKind": "get"
635
+ },
636
+ {
637
+ "kind": "Accessor",
638
+ "name": "Set",
639
+ "printedName": "Set()",
640
+ "children": [
641
+ {
642
+ "kind": "TypeNominal",
643
+ "name": "Void",
644
+ "printedName": "()"
645
+ },
646
+ {
647
+ "kind": "TypeNominal",
648
+ "name": "Optional",
649
+ "printedName": "(() -> ())?",
650
+ "children": [
651
+ {
652
+ "kind": "TypeFunc",
653
+ "name": "Function",
654
+ "printedName": "() -> ()",
655
+ "children": [
656
+ {
657
+ "kind": "TypeNominal",
658
+ "name": "Void",
659
+ "printedName": "()"
660
+ },
661
+ {
662
+ "kind": "TypeNominal",
663
+ "name": "Void",
664
+ "printedName": "()"
665
+ }
666
+ ]
667
+ }
668
+ ],
669
+ "usr": "s:Sq"
670
+ }
671
+ ],
672
+ "declKind": "Accessor",
673
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
674
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
675
+ "moduleName": "DavoiceTTS",
676
+ "static": true,
677
+ "implicit": true,
678
+ "accessorKind": "set"
679
+ },
680
+ {
681
+ "kind": "Accessor",
682
+ "name": "Modify",
683
+ "printedName": "Modify()",
684
+ "children": [
685
+ {
686
+ "kind": "TypeNominal",
687
+ "name": "Void",
688
+ "printedName": "()"
689
+ }
690
+ ],
691
+ "declKind": "Accessor",
692
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
693
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
694
+ "moduleName": "DavoiceTTS",
695
+ "static": true,
696
+ "implicit": true,
697
+ "accessorKind": "_modify"
698
+ }
699
+ ]
673
700
  },
674
701
  {
675
- "kind": "Function",
676
- "name": "destroySpeech",
677
- "printedName": "destroySpeech(_:)",
702
+ "kind": "Var",
703
+ "name": "currentEngine",
704
+ "printedName": "currentEngine",
678
705
  "children": [
679
- {
680
- "kind": "TypeNominal",
681
- "name": "Void",
682
- "printedName": "()"
683
- },
684
706
  {
685
707
  "kind": "TypeNominal",
686
708
  "name": "Optional",
687
- "printedName": "((Swift.Bool) -> ())?",
709
+ "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
688
710
  "children": [
689
711
  {
690
712
  "kind": "TypeFunc",
691
713
  "name": "Function",
692
- "printedName": "(Swift.Bool) -> ()",
714
+ "printedName": "() -> AVFAudio.AVAudioEngine?",
693
715
  "children": [
694
716
  {
695
717
  "kind": "TypeNominal",
696
- "name": "Void",
697
- "printedName": "()"
718
+ "name": "Optional",
719
+ "printedName": "AVFAudio.AVAudioEngine?",
720
+ "children": [
721
+ {
722
+ "kind": "TypeNominal",
723
+ "name": "AVAudioEngine",
724
+ "printedName": "AVFAudio.AVAudioEngine",
725
+ "usr": "c:objc(cs)AVAudioEngine"
726
+ }
727
+ ],
728
+ "usr": "s:Sq"
698
729
  },
699
730
  {
700
731
  "kind": "TypeNominal",
701
- "name": "Bool",
702
- "printedName": "Swift.Bool",
703
- "usr": "s:Sb"
732
+ "name": "Void",
733
+ "printedName": "()"
704
734
  }
705
735
  ]
706
736
  }
707
737
  ],
708
- "hasDefaultArg": true,
709
738
  "usr": "s:Sq"
710
739
  }
711
740
  ],
712
- "declKind": "Func",
713
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)destroySpeech:",
714
- "mangledName": "$s10DavoiceTTS3STTC13destroySpeechyyySbcSgF",
715
- "moduleName": "DavoiceTTS",
716
- "declAttributes": [
717
- "Final",
718
- "AccessControl",
719
- "ObjC"
720
- ],
721
- "funcSelfKind": "NonMutating"
722
- },
723
- {
724
- "kind": "Function",
725
- "name": "teardown",
726
- "printedName": "teardown()",
727
- "children": [
728
- {
729
- "kind": "TypeNominal",
730
- "name": "Void",
731
- "printedName": "()"
732
- }
733
- ],
734
- "declKind": "Func",
735
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)teardown",
736
- "mangledName": "$s10DavoiceTTS3STTC8teardownyyF",
741
+ "declKind": "Var",
742
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvpZ",
743
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvpZ",
737
744
  "moduleName": "DavoiceTTS",
745
+ "static": true,
738
746
  "declAttributes": [
739
- "Final",
740
- "AccessControl",
741
- "ObjC"
747
+ "HasInitialValue",
748
+ "HasStorage",
749
+ "AccessControl"
742
750
  ],
743
- "funcSelfKind": "NonMutating"
744
- },
745
- {
746
- "kind": "Function",
747
- "name": "speechRecognizer",
748
- "printedName": "speechRecognizer(_:availabilityDidChange:)",
749
- "children": [
751
+ "hasStorage": true,
752
+ "accessors": [
750
753
  {
751
- "kind": "TypeNominal",
752
- "name": "Void",
753
- "printedName": "()"
754
+ "kind": "Accessor",
755
+ "name": "Get",
756
+ "printedName": "Get()",
757
+ "children": [
758
+ {
759
+ "kind": "TypeNominal",
760
+ "name": "Optional",
761
+ "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
762
+ "children": [
763
+ {
764
+ "kind": "TypeFunc",
765
+ "name": "Function",
766
+ "printedName": "() -> AVFAudio.AVAudioEngine?",
767
+ "children": [
768
+ {
769
+ "kind": "TypeNominal",
770
+ "name": "Optional",
771
+ "printedName": "AVFAudio.AVAudioEngine?",
772
+ "children": [
773
+ {
774
+ "kind": "TypeNominal",
775
+ "name": "AVAudioEngine",
776
+ "printedName": "AVFAudio.AVAudioEngine",
777
+ "usr": "c:objc(cs)AVAudioEngine"
778
+ }
779
+ ],
780
+ "usr": "s:Sq"
781
+ },
782
+ {
783
+ "kind": "TypeNominal",
784
+ "name": "Void",
785
+ "printedName": "()"
786
+ }
787
+ ]
788
+ }
789
+ ],
790
+ "usr": "s:Sq"
791
+ }
792
+ ],
793
+ "declKind": "Accessor",
794
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvgZ",
795
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvgZ",
796
+ "moduleName": "DavoiceTTS",
797
+ "static": true,
798
+ "implicit": true,
799
+ "accessorKind": "get"
754
800
  },
755
801
  {
756
- "kind": "TypeNominal",
757
- "name": "SFSpeechRecognizer",
758
- "printedName": "Speech.SFSpeechRecognizer",
759
- "usr": "c:objc(cs)SFSpeechRecognizer"
802
+ "kind": "Accessor",
803
+ "name": "Set",
804
+ "printedName": "Set()",
805
+ "children": [
806
+ {
807
+ "kind": "TypeNominal",
808
+ "name": "Void",
809
+ "printedName": "()"
810
+ },
811
+ {
812
+ "kind": "TypeNominal",
813
+ "name": "Optional",
814
+ "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
815
+ "children": [
816
+ {
817
+ "kind": "TypeFunc",
818
+ "name": "Function",
819
+ "printedName": "() -> AVFAudio.AVAudioEngine?",
820
+ "children": [
821
+ {
822
+ "kind": "TypeNominal",
823
+ "name": "Optional",
824
+ "printedName": "AVFAudio.AVAudioEngine?",
825
+ "children": [
826
+ {
827
+ "kind": "TypeNominal",
828
+ "name": "AVAudioEngine",
829
+ "printedName": "AVFAudio.AVAudioEngine",
830
+ "usr": "c:objc(cs)AVAudioEngine"
831
+ }
832
+ ],
833
+ "usr": "s:Sq"
834
+ },
835
+ {
836
+ "kind": "TypeNominal",
837
+ "name": "Void",
838
+ "printedName": "()"
839
+ }
840
+ ]
841
+ }
842
+ ],
843
+ "usr": "s:Sq"
844
+ }
845
+ ],
846
+ "declKind": "Accessor",
847
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvsZ",
848
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvsZ",
849
+ "moduleName": "DavoiceTTS",
850
+ "static": true,
851
+ "implicit": true,
852
+ "accessorKind": "set"
760
853
  },
761
854
  {
762
- "kind": "TypeNominal",
763
- "name": "Bool",
764
- "printedName": "Swift.Bool",
765
- "usr": "s:Sb"
766
- }
767
- ],
768
- "declKind": "Func",
769
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)speechRecognizer:availabilityDidChange:",
770
- "mangledName": "$s10DavoiceTTS3STTC16speechRecognizer_21availabilityDidChangeySo08SFSpeechE0C_SbtF",
771
- "moduleName": "DavoiceTTS",
772
- "objc_name": "speechRecognizer:availabilityDidChange:",
773
- "declAttributes": [
774
- "Final",
775
- "ObjC",
776
- "AccessControl",
777
- "RawDocComment"
778
- ],
779
- "funcSelfKind": "NonMutating"
780
- },
781
- {
782
- "kind": "Constructor",
783
- "name": "init",
784
- "printedName": "init()",
785
- "children": [
786
- {
787
- "kind": "TypeNominal",
788
- "name": "STT",
789
- "printedName": "DavoiceTTS.STT",
790
- "usr": "c:@M@DavoiceTTS@objc(cs)STT"
855
+ "kind": "Accessor",
856
+ "name": "Modify",
857
+ "printedName": "Modify()",
858
+ "children": [
859
+ {
860
+ "kind": "TypeNominal",
861
+ "name": "Void",
862
+ "printedName": "()"
863
+ }
864
+ ],
865
+ "declKind": "Accessor",
866
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvMZ",
867
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvMZ",
868
+ "moduleName": "DavoiceTTS",
869
+ "static": true,
870
+ "implicit": true,
871
+ "accessorKind": "_modify"
791
872
  }
792
- ],
793
- "declKind": "Constructor",
794
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)init",
795
- "mangledName": "$s10DavoiceTTS3STTCACycfc",
796
- "moduleName": "DavoiceTTS",
797
- "overriding": true,
798
- "implicit": true,
799
- "objc_name": "init",
800
- "declAttributes": [
801
- "Dynamic",
802
- "ObjC",
803
- "Override"
804
- ],
805
- "init_kind": "Designated"
873
+ ]
806
874
  }
807
875
  ],
808
- "declKind": "Class",
809
- "usr": "c:@M@DavoiceTTS@objc(cs)STT",
810
- "mangledName": "$s10DavoiceTTS3STTC",
876
+ "declKind": "Enum",
877
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
878
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
811
879
  "moduleName": "DavoiceTTS",
812
880
  "declAttributes": [
813
- "Final",
814
881
  "AccessControl",
815
- "ObjCMembers",
816
- "ObjC"
817
- ],
818
- "superclassUsr": "c:objc(cs)NSObject",
819
- "inheritsConvenienceInitializers": true,
820
- "superclassNames": [
821
- "ObjectiveC.NSObject"
882
+ "RawDocComment"
822
883
  ],
823
884
  "conformances": [
824
885
  {
@@ -834,147 +895,173 @@
834
895
  "printedName": "Escapable",
835
896
  "usr": "s:s9EscapableP",
836
897
  "mangledName": "$ss9EscapableP"
837
- },
838
- {
839
- "kind": "Conformance",
840
- "name": "Equatable",
841
- "printedName": "Equatable",
842
- "usr": "s:SQ",
843
- "mangledName": "$sSQ"
844
- },
845
- {
846
- "kind": "Conformance",
847
- "name": "Hashable",
848
- "printedName": "Hashable",
849
- "usr": "s:SH",
850
- "mangledName": "$sSH"
851
- },
852
- {
853
- "kind": "Conformance",
854
- "name": "CVarArg",
855
- "printedName": "CVarArg",
856
- "usr": "s:s7CVarArgP",
857
- "mangledName": "$ss7CVarArgP"
858
- },
859
- {
860
- "kind": "Conformance",
861
- "name": "_KeyValueCodingAndObservingPublishing",
862
- "printedName": "_KeyValueCodingAndObservingPublishing",
863
- "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
864
- "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
865
- },
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "kind": "Import",
903
+ "name": "Foundation",
904
+ "printedName": "Foundation",
905
+ "declKind": "Import",
906
+ "moduleName": "DavoiceTTS",
907
+ "declAttributes": [
908
+ "RawDocComment"
909
+ ]
910
+ },
911
+ {
912
+ "kind": "Import",
913
+ "name": "UIKit",
914
+ "printedName": "UIKit",
915
+ "declKind": "Import",
916
+ "moduleName": "DavoiceTTS"
917
+ },
918
+ {
919
+ "kind": "Import",
920
+ "name": "Speech",
921
+ "printedName": "Speech",
922
+ "declKind": "Import",
923
+ "moduleName": "DavoiceTTS"
924
+ },
925
+ {
926
+ "kind": "Import",
927
+ "name": "Accelerate",
928
+ "printedName": "Accelerate",
929
+ "declKind": "Import",
930
+ "moduleName": "DavoiceTTS"
931
+ },
932
+ {
933
+ "kind": "Import",
934
+ "name": "AVFAudio",
935
+ "printedName": "AVFAudio",
936
+ "declKind": "Import",
937
+ "moduleName": "DavoiceTTS"
938
+ },
939
+ {
940
+ "kind": "TypeDecl",
941
+ "name": "STTDelegate",
942
+ "printedName": "STTDelegate",
943
+ "children": [
866
944
  {
867
- "kind": "Conformance",
868
- "name": "_KeyValueCodingAndObserving",
869
- "printedName": "_KeyValueCodingAndObserving",
870
- "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
871
- "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
872
- },
945
+ "kind": "Function",
946
+ "name": "stt",
947
+ "printedName": "stt(_:didEmitEvent:body:)",
948
+ "children": [
949
+ {
950
+ "kind": "TypeNominal",
951
+ "name": "Void",
952
+ "printedName": "()"
953
+ },
954
+ {
955
+ "kind": "TypeNominal",
956
+ "name": "STT",
957
+ "printedName": "DavoiceTTS.STT",
958
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT"
959
+ },
960
+ {
961
+ "kind": "TypeNominal",
962
+ "name": "String",
963
+ "printedName": "Swift.String",
964
+ "usr": "s:SS"
965
+ },
966
+ {
967
+ "kind": "TypeNominal",
968
+ "name": "Optional",
969
+ "printedName": "[Swift.String : Any]?",
970
+ "children": [
971
+ {
972
+ "kind": "TypeNominal",
973
+ "name": "Dictionary",
974
+ "printedName": "[Swift.String : Any]",
975
+ "children": [
976
+ {
977
+ "kind": "TypeNominal",
978
+ "name": "String",
979
+ "printedName": "Swift.String",
980
+ "usr": "s:SS"
981
+ },
982
+ {
983
+ "kind": "TypeNominal",
984
+ "name": "ProtocolComposition",
985
+ "printedName": "Any"
986
+ }
987
+ ],
988
+ "usr": "s:SD"
989
+ }
990
+ ],
991
+ "usr": "s:Sq"
992
+ }
993
+ ],
994
+ "declKind": "Func",
995
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate(im)stt:didEmitEvent:body:",
996
+ "mangledName": "$s10DavoiceTTS11STTDelegateP3stt_12didEmitEvent4bodyyAA3STTC_SSSDySSypGSgtF",
997
+ "moduleName": "DavoiceTTS",
998
+ "genericSig": "<τ_0_0 where τ_0_0 : DavoiceTTS.STTDelegate>",
999
+ "sugared_genericSig": "<Self where Self : DavoiceTTS.STTDelegate>",
1000
+ "protocolReq": true,
1001
+ "declAttributes": [
1002
+ "ObjC"
1003
+ ],
1004
+ "reqNewWitnessTableEntry": true,
1005
+ "funcSelfKind": "NonMutating"
1006
+ }
1007
+ ],
1008
+ "declKind": "Protocol",
1009
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate",
1010
+ "mangledName": "$s10DavoiceTTS11STTDelegateP",
1011
+ "moduleName": "DavoiceTTS",
1012
+ "genericSig": "<τ_0_0 : AnyObject>",
1013
+ "sugared_genericSig": "<Self : AnyObject>",
1014
+ "declAttributes": [
1015
+ "AccessControl",
1016
+ "ObjC",
1017
+ "RawDocComment"
1018
+ ],
1019
+ "conformances": [
873
1020
  {
874
1021
  "kind": "Conformance",
875
- "name": "CustomStringConvertible",
876
- "printedName": "CustomStringConvertible",
877
- "usr": "s:s23CustomStringConvertibleP",
878
- "mangledName": "$ss23CustomStringConvertibleP"
1022
+ "name": "Escapable",
1023
+ "printedName": "Escapable",
1024
+ "usr": "s:s9EscapableP",
1025
+ "mangledName": "$ss9EscapableP"
879
1026
  },
880
1027
  {
881
1028
  "kind": "Conformance",
882
- "name": "CustomDebugStringConvertible",
883
- "printedName": "CustomDebugStringConvertible",
884
- "usr": "s:s28CustomDebugStringConvertibleP",
885
- "mangledName": "$ss28CustomDebugStringConvertibleP"
1029
+ "name": "Copyable",
1030
+ "printedName": "Copyable",
1031
+ "usr": "s:s8CopyableP",
1032
+ "mangledName": "$ss8CopyableP"
886
1033
  }
887
1034
  ]
888
1035
  },
889
- {
890
- "kind": "Import",
891
- "name": "Foundation",
892
- "printedName": "Foundation",
893
- "declKind": "Import",
894
- "moduleName": "DavoiceTTS",
895
- "declAttributes": [
896
- "RawDocComment"
897
- ]
898
- },
899
- {
900
- "kind": "Import",
901
- "name": "AVFoundation",
902
- "printedName": "AVFoundation",
903
- "declKind": "Import",
904
- "moduleName": "DavoiceTTS"
905
- },
906
1036
  {
907
1037
  "kind": "TypeDecl",
908
- "name": "AudioPlaybackHook",
909
- "printedName": "AudioPlaybackHook",
1038
+ "name": "STT",
1039
+ "printedName": "STT",
910
1040
  "children": [
911
1041
  {
912
1042
  "kind": "Var",
913
- "name": "engineScheduleFile",
914
- "printedName": "engineScheduleFile",
1043
+ "name": "delegate",
1044
+ "printedName": "delegate",
915
1045
  "children": [
916
1046
  {
917
1047
  "kind": "TypeNominal",
918
- "name": "Optional",
919
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
920
- "children": [
921
- {
922
- "kind": "TypeFunc",
923
- "name": "Function",
924
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
925
- "children": [
926
- {
927
- "kind": "TypeNominal",
928
- "name": "Bool",
929
- "printedName": "Swift.Bool",
930
- "usr": "s:Sb"
931
- },
932
- {
933
- "kind": "TypeNominal",
934
- "name": "Tuple",
935
- "printedName": "(Foundation.URL, () -> ())",
936
- "children": [
937
- {
938
- "kind": "TypeNominal",
939
- "name": "URL",
940
- "printedName": "Foundation.URL",
941
- "usr": "s:10Foundation3URLV"
942
- },
943
- {
944
- "kind": "TypeFunc",
945
- "name": "Function",
946
- "printedName": "() -> ()",
947
- "children": [
948
- {
949
- "kind": "TypeNominal",
950
- "name": "Void",
951
- "printedName": "()"
952
- },
953
- {
954
- "kind": "TypeNominal",
955
- "name": "Void",
956
- "printedName": "()"
957
- }
958
- ]
959
- }
960
- ]
961
- }
962
- ]
963
- }
964
- ],
965
- "usr": "s:Sq"
1048
+ "name": "WeakStorage",
1049
+ "printedName": "(any DavoiceTTS.STTDelegate)?"
966
1050
  }
967
1051
  ],
968
1052
  "declKind": "Var",
969
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
970
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
1053
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)delegate",
1054
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvp",
971
1055
  "moduleName": "DavoiceTTS",
972
- "static": true,
973
1056
  "declAttributes": [
974
1057
  "HasInitialValue",
1058
+ "Final",
975
1059
  "HasStorage",
976
- "AccessControl"
1060
+ "ReferenceOwnership",
1061
+ "AccessControl",
1062
+ "ObjC"
977
1063
  ],
1064
+ "ownership": 1,
978
1065
  "hasStorage": true,
979
1066
  "accessors": [
980
1067
  {
@@ -985,61 +1072,134 @@
985
1072
  {
986
1073
  "kind": "TypeNominal",
987
1074
  "name": "Optional",
988
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
1075
+ "printedName": "(any DavoiceTTS.STTDelegate)?",
989
1076
  "children": [
990
1077
  {
991
- "kind": "TypeFunc",
992
- "name": "Function",
993
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
994
- "children": [
995
- {
996
- "kind": "TypeNominal",
997
- "name": "Bool",
998
- "printedName": "Swift.Bool",
999
- "usr": "s:Sb"
1000
- },
1001
- {
1002
- "kind": "TypeNominal",
1003
- "name": "Tuple",
1004
- "printedName": "(Foundation.URL, () -> ())",
1005
- "children": [
1006
- {
1007
- "kind": "TypeNominal",
1008
- "name": "URL",
1009
- "printedName": "Foundation.URL",
1010
- "usr": "s:10Foundation3URLV"
1011
- },
1012
- {
1013
- "kind": "TypeFunc",
1014
- "name": "Function",
1015
- "printedName": "() -> ()",
1016
- "children": [
1017
- {
1018
- "kind": "TypeNominal",
1019
- "name": "Void",
1020
- "printedName": "()"
1021
- },
1022
- {
1023
- "kind": "TypeNominal",
1024
- "name": "Void",
1025
- "printedName": "()"
1026
- }
1027
- ]
1028
- }
1029
- ]
1030
- }
1031
- ]
1078
+ "kind": "TypeNominal",
1079
+ "name": "STTDelegate",
1080
+ "printedName": "any DavoiceTTS.STTDelegate",
1081
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
1082
+ }
1083
+ ],
1084
+ "usr": "s:Sq"
1085
+ }
1086
+ ],
1087
+ "declKind": "Accessor",
1088
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)delegate",
1089
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvg",
1090
+ "moduleName": "DavoiceTTS",
1091
+ "implicit": true,
1092
+ "declAttributes": [
1093
+ "Final",
1094
+ "ObjC"
1095
+ ],
1096
+ "accessorKind": "get"
1097
+ },
1098
+ {
1099
+ "kind": "Accessor",
1100
+ "name": "Set",
1101
+ "printedName": "Set()",
1102
+ "children": [
1103
+ {
1104
+ "kind": "TypeNominal",
1105
+ "name": "Void",
1106
+ "printedName": "()"
1107
+ },
1108
+ {
1109
+ "kind": "TypeNominal",
1110
+ "name": "Optional",
1111
+ "printedName": "(any DavoiceTTS.STTDelegate)?",
1112
+ "children": [
1113
+ {
1114
+ "kind": "TypeNominal",
1115
+ "name": "STTDelegate",
1116
+ "printedName": "any DavoiceTTS.STTDelegate",
1117
+ "usr": "c:@M@DavoiceTTS@objc(pl)STTDelegate"
1032
1118
  }
1033
1119
  ],
1034
1120
  "usr": "s:Sq"
1035
1121
  }
1036
1122
  ],
1037
1123
  "declKind": "Accessor",
1038
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
1039
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
1124
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setDelegate:",
1125
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvs",
1126
+ "moduleName": "DavoiceTTS",
1127
+ "implicit": true,
1128
+ "declAttributes": [
1129
+ "Final",
1130
+ "ObjC"
1131
+ ],
1132
+ "accessorKind": "set"
1133
+ },
1134
+ {
1135
+ "kind": "Accessor",
1136
+ "name": "Modify",
1137
+ "printedName": "Modify()",
1138
+ "children": [
1139
+ {
1140
+ "kind": "TypeNominal",
1141
+ "name": "Void",
1142
+ "printedName": "()"
1143
+ }
1144
+ ],
1145
+ "declKind": "Accessor",
1146
+ "usr": "s:10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
1147
+ "mangledName": "$s10DavoiceTTS3STTC8delegateAA11STTDelegate_pSgvM",
1148
+ "moduleName": "DavoiceTTS",
1149
+ "implicit": true,
1150
+ "declAttributes": [
1151
+ "Final"
1152
+ ],
1153
+ "accessorKind": "_modify"
1154
+ }
1155
+ ]
1156
+ },
1157
+ {
1158
+ "kind": "Var",
1159
+ "name": "continuous",
1160
+ "printedName": "continuous",
1161
+ "children": [
1162
+ {
1163
+ "kind": "TypeNominal",
1164
+ "name": "Bool",
1165
+ "printedName": "Swift.Bool",
1166
+ "usr": "s:Sb"
1167
+ }
1168
+ ],
1169
+ "declKind": "Var",
1170
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(py)continuous",
1171
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvp",
1172
+ "moduleName": "DavoiceTTS",
1173
+ "declAttributes": [
1174
+ "HasInitialValue",
1175
+ "Final",
1176
+ "HasStorage",
1177
+ "AccessControl",
1178
+ "ObjC"
1179
+ ],
1180
+ "hasStorage": true,
1181
+ "accessors": [
1182
+ {
1183
+ "kind": "Accessor",
1184
+ "name": "Get",
1185
+ "printedName": "Get()",
1186
+ "children": [
1187
+ {
1188
+ "kind": "TypeNominal",
1189
+ "name": "Bool",
1190
+ "printedName": "Swift.Bool",
1191
+ "usr": "s:Sb"
1192
+ }
1193
+ ],
1194
+ "declKind": "Accessor",
1195
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)continuous",
1196
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvg",
1040
1197
  "moduleName": "DavoiceTTS",
1041
- "static": true,
1042
1198
  "implicit": true,
1199
+ "declAttributes": [
1200
+ "Final",
1201
+ "ObjC"
1202
+ ],
1043
1203
  "accessorKind": "get"
1044
1204
  },
1045
1205
  {
@@ -1054,62 +1214,20 @@
1054
1214
  },
1055
1215
  {
1056
1216
  "kind": "TypeNominal",
1057
- "name": "Optional",
1058
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
1059
- "children": [
1060
- {
1061
- "kind": "TypeFunc",
1062
- "name": "Function",
1063
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
1064
- "children": [
1065
- {
1066
- "kind": "TypeNominal",
1067
- "name": "Bool",
1068
- "printedName": "Swift.Bool",
1069
- "usr": "s:Sb"
1070
- },
1071
- {
1072
- "kind": "TypeNominal",
1073
- "name": "Tuple",
1074
- "printedName": "(Foundation.URL, () -> ())",
1075
- "children": [
1076
- {
1077
- "kind": "TypeNominal",
1078
- "name": "URL",
1079
- "printedName": "Foundation.URL",
1080
- "usr": "s:10Foundation3URLV"
1081
- },
1082
- {
1083
- "kind": "TypeFunc",
1084
- "name": "Function",
1085
- "printedName": "() -> ()",
1086
- "children": [
1087
- {
1088
- "kind": "TypeNominal",
1089
- "name": "Void",
1090
- "printedName": "()"
1091
- },
1092
- {
1093
- "kind": "TypeNominal",
1094
- "name": "Void",
1095
- "printedName": "()"
1096
- }
1097
- ]
1098
- }
1099
- ]
1100
- }
1101
- ]
1102
- }
1103
- ],
1104
- "usr": "s:Sq"
1217
+ "name": "Bool",
1218
+ "printedName": "Swift.Bool",
1219
+ "usr": "s:Sb"
1105
1220
  }
1106
1221
  ],
1107
1222
  "declKind": "Accessor",
1108
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1109
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1223
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)setContinuous:",
1224
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvs",
1110
1225
  "moduleName": "DavoiceTTS",
1111
- "static": true,
1112
1226
  "implicit": true,
1227
+ "declAttributes": [
1228
+ "Final",
1229
+ "ObjC"
1230
+ ],
1113
1231
  "accessorKind": "set"
1114
1232
  },
1115
1233
  {
@@ -1124,57 +1242,51 @@
1124
1242
  }
1125
1243
  ],
1126
1244
  "declKind": "Accessor",
1127
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1128
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1245
+ "usr": "s:10DavoiceTTS3STTC10continuousSbvM",
1246
+ "mangledName": "$s10DavoiceTTS3STTC10continuousSbvM",
1129
1247
  "moduleName": "DavoiceTTS",
1130
- "static": true,
1131
1248
  "implicit": true,
1249
+ "declAttributes": [
1250
+ "Final"
1251
+ ],
1132
1252
  "accessorKind": "_modify"
1133
1253
  }
1134
1254
  ]
1135
1255
  },
1136
1256
  {
1137
1257
  "kind": "Var",
1138
- "name": "isEngineReady",
1139
- "printedName": "isEngineReady",
1258
+ "name": "supportedEvents",
1259
+ "printedName": "supportedEvents",
1140
1260
  "children": [
1141
1261
  {
1142
1262
  "kind": "TypeNominal",
1143
- "name": "Optional",
1144
- "printedName": "(() -> Swift.Bool)?",
1263
+ "name": "Array",
1264
+ "printedName": "[Swift.String]",
1145
1265
  "children": [
1146
1266
  {
1147
- "kind": "TypeFunc",
1148
- "name": "Function",
1149
- "printedName": "() -> Swift.Bool",
1150
- "children": [
1151
- {
1152
- "kind": "TypeNominal",
1153
- "name": "Bool",
1154
- "printedName": "Swift.Bool",
1155
- "usr": "s:Sb"
1156
- },
1157
- {
1158
- "kind": "TypeNominal",
1159
- "name": "Void",
1160
- "printedName": "()"
1161
- }
1162
- ]
1267
+ "kind": "TypeNominal",
1268
+ "name": "String",
1269
+ "printedName": "Swift.String",
1270
+ "usr": "s:SS"
1163
1271
  }
1164
1272
  ],
1165
- "usr": "s:Sq"
1273
+ "usr": "s:Sa"
1166
1274
  }
1167
1275
  ],
1168
1276
  "declKind": "Var",
1169
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1170
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1277
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(cpy)supportedEvents",
1278
+ "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvpZ",
1171
1279
  "moduleName": "DavoiceTTS",
1172
1280
  "static": true,
1173
1281
  "declAttributes": [
1174
1282
  "HasInitialValue",
1283
+ "Final",
1175
1284
  "HasStorage",
1176
- "AccessControl"
1285
+ "AccessControl",
1286
+ "RawDocComment",
1287
+ "ObjC"
1177
1288
  ],
1289
+ "isLet": true,
1178
1290
  "hasStorage": true,
1179
1291
  "accessors": [
1180
1292
  {
@@ -1184,269 +1296,245 @@
1184
1296
  "children": [
1185
1297
  {
1186
1298
  "kind": "TypeNominal",
1187
- "name": "Optional",
1188
- "printedName": "(() -> Swift.Bool)?",
1299
+ "name": "Array",
1300
+ "printedName": "[Swift.String]",
1189
1301
  "children": [
1190
1302
  {
1191
- "kind": "TypeFunc",
1192
- "name": "Function",
1193
- "printedName": "() -> Swift.Bool",
1194
- "children": [
1195
- {
1196
- "kind": "TypeNominal",
1197
- "name": "Bool",
1198
- "printedName": "Swift.Bool",
1199
- "usr": "s:Sb"
1200
- },
1201
- {
1202
- "kind": "TypeNominal",
1203
- "name": "Void",
1204
- "printedName": "()"
1205
- }
1206
- ]
1303
+ "kind": "TypeNominal",
1304
+ "name": "String",
1305
+ "printedName": "Swift.String",
1306
+ "usr": "s:SS"
1207
1307
  }
1208
1308
  ],
1209
- "usr": "s:Sq"
1309
+ "usr": "s:Sa"
1210
1310
  }
1211
1311
  ],
1212
1312
  "declKind": "Accessor",
1213
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1214
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1313
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(cm)supportedEvents",
1314
+ "mangledName": "$s10DavoiceTTS3STTC15supportedEventsSaySSGvgZ",
1215
1315
  "moduleName": "DavoiceTTS",
1216
1316
  "static": true,
1217
1317
  "implicit": true,
1318
+ "declAttributes": [
1319
+ "Final",
1320
+ "ObjC"
1321
+ ],
1218
1322
  "accessorKind": "get"
1219
- },
1323
+ }
1324
+ ]
1325
+ },
1326
+ {
1327
+ "kind": "Function",
1328
+ "name": "unPauseMicrophone",
1329
+ "printedName": "unPauseMicrophone()",
1330
+ "children": [
1220
1331
  {
1221
- "kind": "Accessor",
1222
- "name": "Set",
1223
- "printedName": "Set()",
1224
- "children": [
1225
- {
1226
- "kind": "TypeNominal",
1227
- "name": "Void",
1228
- "printedName": "()"
1229
- },
1230
- {
1231
- "kind": "TypeNominal",
1232
- "name": "Optional",
1233
- "printedName": "(() -> Swift.Bool)?",
1234
- "children": [
1235
- {
1236
- "kind": "TypeFunc",
1237
- "name": "Function",
1238
- "printedName": "() -> Swift.Bool",
1239
- "children": [
1240
- {
1241
- "kind": "TypeNominal",
1242
- "name": "Bool",
1243
- "printedName": "Swift.Bool",
1244
- "usr": "s:Sb"
1245
- },
1246
- {
1247
- "kind": "TypeNominal",
1248
- "name": "Void",
1249
- "printedName": "()"
1250
- }
1251
- ]
1252
- }
1253
- ],
1254
- "usr": "s:Sq"
1255
- }
1256
- ],
1257
- "declKind": "Accessor",
1258
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1259
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1260
- "moduleName": "DavoiceTTS",
1261
- "static": true,
1262
- "implicit": true,
1263
- "accessorKind": "set"
1332
+ "kind": "TypeNominal",
1333
+ "name": "Void",
1334
+ "printedName": "()"
1335
+ }
1336
+ ],
1337
+ "declKind": "Func",
1338
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
1339
+ "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
1340
+ "moduleName": "DavoiceTTS",
1341
+ "declAttributes": [
1342
+ "Final",
1343
+ "AccessControl",
1344
+ "ObjC"
1345
+ ],
1346
+ "funcSelfKind": "NonMutating"
1347
+ },
1348
+ {
1349
+ "kind": "Function",
1350
+ "name": "pauseMicrophone",
1351
+ "printedName": "pauseMicrophone()",
1352
+ "children": [
1353
+ {
1354
+ "kind": "TypeNominal",
1355
+ "name": "Void",
1356
+ "printedName": "()"
1357
+ }
1358
+ ],
1359
+ "declKind": "Func",
1360
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
1361
+ "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
1362
+ "moduleName": "DavoiceTTS",
1363
+ "declAttributes": [
1364
+ "Final",
1365
+ "AccessControl",
1366
+ "ObjC"
1367
+ ],
1368
+ "funcSelfKind": "NonMutating"
1369
+ },
1370
+ {
1371
+ "kind": "Function",
1372
+ "name": "isSpeechAvailable",
1373
+ "printedName": "isSpeechAvailable(_:)",
1374
+ "children": [
1375
+ {
1376
+ "kind": "TypeNominal",
1377
+ "name": "Void",
1378
+ "printedName": "()"
1264
1379
  },
1265
1380
  {
1266
- "kind": "Accessor",
1267
- "name": "Modify",
1268
- "printedName": "Modify()",
1381
+ "kind": "TypeFunc",
1382
+ "name": "Function",
1383
+ "printedName": "(Swift.Bool) -> ()",
1269
1384
  "children": [
1270
1385
  {
1271
1386
  "kind": "TypeNominal",
1272
1387
  "name": "Void",
1273
1388
  "printedName": "()"
1389
+ },
1390
+ {
1391
+ "kind": "TypeNominal",
1392
+ "name": "Bool",
1393
+ "printedName": "Swift.Bool",
1394
+ "usr": "s:Sb"
1274
1395
  }
1275
- ],
1276
- "declKind": "Accessor",
1277
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1278
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1279
- "moduleName": "DavoiceTTS",
1280
- "static": true,
1281
- "implicit": true,
1282
- "accessorKind": "_modify"
1396
+ ]
1283
1397
  }
1284
- ]
1398
+ ],
1399
+ "declKind": "Func",
1400
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
1401
+ "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
1402
+ "moduleName": "DavoiceTTS",
1403
+ "declAttributes": [
1404
+ "Final",
1405
+ "AccessControl",
1406
+ "RawDocComment",
1407
+ "ObjC"
1408
+ ],
1409
+ "funcSelfKind": "NonMutating"
1285
1410
  },
1286
1411
  {
1287
- "kind": "Var",
1288
- "name": "useOnlyEnginePlayback",
1289
- "printedName": "useOnlyEnginePlayback",
1412
+ "kind": "Function",
1413
+ "name": "isRecognizing",
1414
+ "printedName": "isRecognizing()",
1415
+ "children": [
1416
+ {
1417
+ "kind": "TypeNominal",
1418
+ "name": "Bool",
1419
+ "printedName": "Swift.Bool",
1420
+ "usr": "s:Sb"
1421
+ }
1422
+ ],
1423
+ "declKind": "Func",
1424
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
1425
+ "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
1426
+ "moduleName": "DavoiceTTS",
1427
+ "declAttributes": [
1428
+ "Final",
1429
+ "AccessControl",
1430
+ "ObjC"
1431
+ ],
1432
+ "funcSelfKind": "NonMutating"
1433
+ },
1434
+ {
1435
+ "kind": "Function",
1436
+ "name": "startSpeech",
1437
+ "printedName": "startSpeech(localeStr:)",
1290
1438
  "children": [
1439
+ {
1440
+ "kind": "TypeNominal",
1441
+ "name": "Void",
1442
+ "printedName": "()"
1443
+ },
1291
1444
  {
1292
1445
  "kind": "TypeNominal",
1293
1446
  "name": "Optional",
1294
- "printedName": "(() -> Swift.Bool)?",
1447
+ "printedName": "Swift.String?",
1295
1448
  "children": [
1296
1449
  {
1297
- "kind": "TypeFunc",
1298
- "name": "Function",
1299
- "printedName": "() -> Swift.Bool",
1300
- "children": [
1301
- {
1302
- "kind": "TypeNominal",
1303
- "name": "Bool",
1304
- "printedName": "Swift.Bool",
1305
- "usr": "s:Sb"
1306
- },
1307
- {
1308
- "kind": "TypeNominal",
1309
- "name": "Void",
1310
- "printedName": "()"
1311
- }
1312
- ]
1450
+ "kind": "TypeNominal",
1451
+ "name": "String",
1452
+ "printedName": "Swift.String",
1453
+ "usr": "s:SS"
1313
1454
  }
1314
1455
  ],
1315
1456
  "usr": "s:Sq"
1316
1457
  }
1317
1458
  ],
1318
- "declKind": "Var",
1319
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1320
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1459
+ "declKind": "Func",
1460
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)startSpeechWithLocaleStr:",
1461
+ "mangledName": "$s10DavoiceTTS3STTC11startSpeech9localeStrySSSg_tF",
1321
1462
  "moduleName": "DavoiceTTS",
1322
- "static": true,
1323
1463
  "declAttributes": [
1324
- "HasInitialValue",
1325
- "HasStorage",
1326
- "AccessControl"
1464
+ "Final",
1465
+ "AccessControl",
1466
+ "ObjC"
1327
1467
  ],
1328
- "hasStorage": true,
1329
- "accessors": [
1468
+ "funcSelfKind": "NonMutating"
1469
+ },
1470
+ {
1471
+ "kind": "Function",
1472
+ "name": "stopSpeech",
1473
+ "printedName": "stopSpeech(_:)",
1474
+ "children": [
1330
1475
  {
1331
- "kind": "Accessor",
1332
- "name": "Get",
1333
- "printedName": "Get()",
1334
- "children": [
1335
- {
1336
- "kind": "TypeNominal",
1337
- "name": "Optional",
1338
- "printedName": "(() -> Swift.Bool)?",
1339
- "children": [
1340
- {
1341
- "kind": "TypeFunc",
1342
- "name": "Function",
1343
- "printedName": "() -> Swift.Bool",
1344
- "children": [
1345
- {
1346
- "kind": "TypeNominal",
1347
- "name": "Bool",
1348
- "printedName": "Swift.Bool",
1349
- "usr": "s:Sb"
1350
- },
1351
- {
1352
- "kind": "TypeNominal",
1353
- "name": "Void",
1354
- "printedName": "()"
1355
- }
1356
- ]
1357
- }
1358
- ],
1359
- "usr": "s:Sq"
1360
- }
1361
- ],
1362
- "declKind": "Accessor",
1363
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1364
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1365
- "moduleName": "DavoiceTTS",
1366
- "static": true,
1367
- "implicit": true,
1368
- "accessorKind": "get"
1476
+ "kind": "TypeNominal",
1477
+ "name": "Void",
1478
+ "printedName": "()"
1369
1479
  },
1370
1480
  {
1371
- "kind": "Accessor",
1372
- "name": "Set",
1373
- "printedName": "Set()",
1481
+ "kind": "TypeNominal",
1482
+ "name": "Optional",
1483
+ "printedName": "((Swift.Bool) -> ())?",
1374
1484
  "children": [
1375
1485
  {
1376
- "kind": "TypeNominal",
1377
- "name": "Void",
1378
- "printedName": "()"
1379
- },
1380
- {
1381
- "kind": "TypeNominal",
1382
- "name": "Optional",
1383
- "printedName": "(() -> Swift.Bool)?",
1486
+ "kind": "TypeFunc",
1487
+ "name": "Function",
1488
+ "printedName": "(Swift.Bool) -> ()",
1384
1489
  "children": [
1385
1490
  {
1386
- "kind": "TypeFunc",
1387
- "name": "Function",
1388
- "printedName": "() -> Swift.Bool",
1389
- "children": [
1390
- {
1391
- "kind": "TypeNominal",
1392
- "name": "Bool",
1393
- "printedName": "Swift.Bool",
1394
- "usr": "s:Sb"
1395
- },
1396
- {
1397
- "kind": "TypeNominal",
1398
- "name": "Void",
1399
- "printedName": "()"
1400
- }
1401
- ]
1491
+ "kind": "TypeNominal",
1492
+ "name": "Void",
1493
+ "printedName": "()"
1494
+ },
1495
+ {
1496
+ "kind": "TypeNominal",
1497
+ "name": "Bool",
1498
+ "printedName": "Swift.Bool",
1499
+ "usr": "s:Sb"
1402
1500
  }
1403
- ],
1404
- "usr": "s:Sq"
1405
- }
1406
- ],
1407
- "declKind": "Accessor",
1408
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1409
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1410
- "moduleName": "DavoiceTTS",
1411
- "static": true,
1412
- "implicit": true,
1413
- "accessorKind": "set"
1414
- },
1415
- {
1416
- "kind": "Accessor",
1417
- "name": "Modify",
1418
- "printedName": "Modify()",
1419
- "children": [
1420
- {
1421
- "kind": "TypeNominal",
1422
- "name": "Void",
1423
- "printedName": "()"
1501
+ ]
1424
1502
  }
1425
1503
  ],
1426
- "declKind": "Accessor",
1427
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1428
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1429
- "moduleName": "DavoiceTTS",
1430
- "static": true,
1431
- "implicit": true,
1432
- "accessorKind": "_modify"
1504
+ "hasDefaultArg": true,
1505
+ "usr": "s:Sq"
1433
1506
  }
1434
- ]
1507
+ ],
1508
+ "declKind": "Func",
1509
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)stopSpeech:",
1510
+ "mangledName": "$s10DavoiceTTS3STTC10stopSpeechyyySbcSgF",
1511
+ "moduleName": "DavoiceTTS",
1512
+ "declAttributes": [
1513
+ "Final",
1514
+ "AccessControl",
1515
+ "ObjC"
1516
+ ],
1517
+ "funcSelfKind": "NonMutating"
1435
1518
  },
1436
1519
  {
1437
- "kind": "Var",
1438
- "name": "stopEnginePlayback",
1439
- "printedName": "stopEnginePlayback",
1520
+ "kind": "Function",
1521
+ "name": "cancelSpeech",
1522
+ "printedName": "cancelSpeech(_:)",
1440
1523
  "children": [
1524
+ {
1525
+ "kind": "TypeNominal",
1526
+ "name": "Void",
1527
+ "printedName": "()"
1528
+ },
1441
1529
  {
1442
1530
  "kind": "TypeNominal",
1443
1531
  "name": "Optional",
1444
- "printedName": "(() -> ())?",
1532
+ "printedName": "((Swift.Bool) -> ())?",
1445
1533
  "children": [
1446
1534
  {
1447
1535
  "kind": "TypeFunc",
1448
1536
  "name": "Function",
1449
- "printedName": "() -> ()",
1537
+ "printedName": "(Swift.Bool) -> ()",
1450
1538
  "children": [
1451
1539
  {
1452
1540
  "kind": "TypeNominal",
@@ -1455,313 +1543,176 @@
1455
1543
  },
1456
1544
  {
1457
1545
  "kind": "TypeNominal",
1458
- "name": "Void",
1459
- "printedName": "()"
1546
+ "name": "Bool",
1547
+ "printedName": "Swift.Bool",
1548
+ "usr": "s:Sb"
1460
1549
  }
1461
1550
  ]
1462
1551
  }
1463
1552
  ],
1553
+ "hasDefaultArg": true,
1464
1554
  "usr": "s:Sq"
1465
1555
  }
1466
1556
  ],
1467
- "declKind": "Var",
1468
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1469
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1557
+ "declKind": "Func",
1558
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)cancelSpeech:",
1559
+ "mangledName": "$s10DavoiceTTS3STTC12cancelSpeechyyySbcSgF",
1470
1560
  "moduleName": "DavoiceTTS",
1471
- "static": true,
1472
1561
  "declAttributes": [
1473
- "HasInitialValue",
1474
- "HasStorage",
1475
- "AccessControl"
1562
+ "Final",
1563
+ "AccessControl",
1564
+ "ObjC"
1476
1565
  ],
1477
- "hasStorage": true,
1478
- "accessors": [
1479
- {
1480
- "kind": "Accessor",
1481
- "name": "Get",
1482
- "printedName": "Get()",
1483
- "children": [
1484
- {
1485
- "kind": "TypeNominal",
1486
- "name": "Optional",
1487
- "printedName": "(() -> ())?",
1488
- "children": [
1489
- {
1490
- "kind": "TypeFunc",
1491
- "name": "Function",
1492
- "printedName": "() -> ()",
1493
- "children": [
1494
- {
1495
- "kind": "TypeNominal",
1496
- "name": "Void",
1497
- "printedName": "()"
1498
- },
1499
- {
1500
- "kind": "TypeNominal",
1501
- "name": "Void",
1502
- "printedName": "()"
1503
- }
1504
- ]
1505
- }
1506
- ],
1507
- "usr": "s:Sq"
1508
- }
1509
- ],
1510
- "declKind": "Accessor",
1511
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1512
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1513
- "moduleName": "DavoiceTTS",
1514
- "static": true,
1515
- "implicit": true,
1516
- "accessorKind": "get"
1517
- },
1518
- {
1519
- "kind": "Accessor",
1520
- "name": "Set",
1521
- "printedName": "Set()",
1522
- "children": [
1523
- {
1524
- "kind": "TypeNominal",
1525
- "name": "Void",
1526
- "printedName": "()"
1527
- },
1528
- {
1529
- "kind": "TypeNominal",
1530
- "name": "Optional",
1531
- "printedName": "(() -> ())?",
1532
- "children": [
1533
- {
1534
- "kind": "TypeFunc",
1535
- "name": "Function",
1536
- "printedName": "() -> ()",
1537
- "children": [
1538
- {
1539
- "kind": "TypeNominal",
1540
- "name": "Void",
1541
- "printedName": "()"
1542
- },
1543
- {
1544
- "kind": "TypeNominal",
1545
- "name": "Void",
1546
- "printedName": "()"
1547
- }
1548
- ]
1549
- }
1550
- ],
1551
- "usr": "s:Sq"
1552
- }
1553
- ],
1554
- "declKind": "Accessor",
1555
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1556
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1557
- "moduleName": "DavoiceTTS",
1558
- "static": true,
1559
- "implicit": true,
1560
- "accessorKind": "set"
1561
- },
1562
- {
1563
- "kind": "Accessor",
1564
- "name": "Modify",
1565
- "printedName": "Modify()",
1566
- "children": [
1567
- {
1568
- "kind": "TypeNominal",
1569
- "name": "Void",
1570
- "printedName": "()"
1571
- }
1572
- ],
1573
- "declKind": "Accessor",
1574
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1575
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1576
- "moduleName": "DavoiceTTS",
1577
- "static": true,
1578
- "implicit": true,
1579
- "accessorKind": "_modify"
1580
- }
1581
- ]
1566
+ "funcSelfKind": "NonMutating"
1582
1567
  },
1583
1568
  {
1584
- "kind": "Var",
1585
- "name": "currentEngine",
1586
- "printedName": "currentEngine",
1569
+ "kind": "Function",
1570
+ "name": "destroySpeech",
1571
+ "printedName": "destroySpeech(_:)",
1587
1572
  "children": [
1573
+ {
1574
+ "kind": "TypeNominal",
1575
+ "name": "Void",
1576
+ "printedName": "()"
1577
+ },
1588
1578
  {
1589
1579
  "kind": "TypeNominal",
1590
1580
  "name": "Optional",
1591
- "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
1581
+ "printedName": "((Swift.Bool) -> ())?",
1592
1582
  "children": [
1593
1583
  {
1594
1584
  "kind": "TypeFunc",
1595
1585
  "name": "Function",
1596
- "printedName": "() -> AVFAudio.AVAudioEngine?",
1586
+ "printedName": "(Swift.Bool) -> ()",
1597
1587
  "children": [
1598
1588
  {
1599
1589
  "kind": "TypeNominal",
1600
- "name": "Optional",
1601
- "printedName": "AVFAudio.AVAudioEngine?",
1602
- "children": [
1603
- {
1604
- "kind": "TypeNominal",
1605
- "name": "AVAudioEngine",
1606
- "printedName": "AVFAudio.AVAudioEngine",
1607
- "usr": "c:objc(cs)AVAudioEngine"
1608
- }
1609
- ],
1610
- "usr": "s:Sq"
1590
+ "name": "Void",
1591
+ "printedName": "()"
1611
1592
  },
1612
1593
  {
1613
1594
  "kind": "TypeNominal",
1614
- "name": "Void",
1615
- "printedName": "()"
1595
+ "name": "Bool",
1596
+ "printedName": "Swift.Bool",
1597
+ "usr": "s:Sb"
1616
1598
  }
1617
1599
  ]
1618
1600
  }
1619
1601
  ],
1602
+ "hasDefaultArg": true,
1620
1603
  "usr": "s:Sq"
1621
1604
  }
1622
1605
  ],
1623
- "declKind": "Var",
1624
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvpZ",
1625
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvpZ",
1606
+ "declKind": "Func",
1607
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)destroySpeech:",
1608
+ "mangledName": "$s10DavoiceTTS3STTC13destroySpeechyyySbcSgF",
1626
1609
  "moduleName": "DavoiceTTS",
1627
- "static": true,
1628
1610
  "declAttributes": [
1629
- "HasInitialValue",
1630
- "HasStorage",
1631
- "AccessControl"
1611
+ "Final",
1612
+ "AccessControl",
1613
+ "ObjC"
1632
1614
  ],
1633
- "hasStorage": true,
1634
- "accessors": [
1615
+ "funcSelfKind": "NonMutating"
1616
+ },
1617
+ {
1618
+ "kind": "Function",
1619
+ "name": "teardown",
1620
+ "printedName": "teardown()",
1621
+ "children": [
1635
1622
  {
1636
- "kind": "Accessor",
1637
- "name": "Get",
1638
- "printedName": "Get()",
1639
- "children": [
1640
- {
1641
- "kind": "TypeNominal",
1642
- "name": "Optional",
1643
- "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
1644
- "children": [
1645
- {
1646
- "kind": "TypeFunc",
1647
- "name": "Function",
1648
- "printedName": "() -> AVFAudio.AVAudioEngine?",
1649
- "children": [
1650
- {
1651
- "kind": "TypeNominal",
1652
- "name": "Optional",
1653
- "printedName": "AVFAudio.AVAudioEngine?",
1654
- "children": [
1655
- {
1656
- "kind": "TypeNominal",
1657
- "name": "AVAudioEngine",
1658
- "printedName": "AVFAudio.AVAudioEngine",
1659
- "usr": "c:objc(cs)AVAudioEngine"
1660
- }
1661
- ],
1662
- "usr": "s:Sq"
1663
- },
1664
- {
1665
- "kind": "TypeNominal",
1666
- "name": "Void",
1667
- "printedName": "()"
1668
- }
1669
- ]
1670
- }
1671
- ],
1672
- "usr": "s:Sq"
1673
- }
1674
- ],
1675
- "declKind": "Accessor",
1676
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvgZ",
1677
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvgZ",
1678
- "moduleName": "DavoiceTTS",
1679
- "static": true,
1680
- "implicit": true,
1681
- "accessorKind": "get"
1623
+ "kind": "TypeNominal",
1624
+ "name": "Void",
1625
+ "printedName": "()"
1626
+ }
1627
+ ],
1628
+ "declKind": "Func",
1629
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)teardown",
1630
+ "mangledName": "$s10DavoiceTTS3STTC8teardownyyF",
1631
+ "moduleName": "DavoiceTTS",
1632
+ "declAttributes": [
1633
+ "Final",
1634
+ "AccessControl",
1635
+ "ObjC"
1636
+ ],
1637
+ "funcSelfKind": "NonMutating"
1638
+ },
1639
+ {
1640
+ "kind": "Function",
1641
+ "name": "speechRecognizer",
1642
+ "printedName": "speechRecognizer(_:availabilityDidChange:)",
1643
+ "children": [
1644
+ {
1645
+ "kind": "TypeNominal",
1646
+ "name": "Void",
1647
+ "printedName": "()"
1682
1648
  },
1683
1649
  {
1684
- "kind": "Accessor",
1685
- "name": "Set",
1686
- "printedName": "Set()",
1687
- "children": [
1688
- {
1689
- "kind": "TypeNominal",
1690
- "name": "Void",
1691
- "printedName": "()"
1692
- },
1693
- {
1694
- "kind": "TypeNominal",
1695
- "name": "Optional",
1696
- "printedName": "(() -> AVFAudio.AVAudioEngine?)?",
1697
- "children": [
1698
- {
1699
- "kind": "TypeFunc",
1700
- "name": "Function",
1701
- "printedName": "() -> AVFAudio.AVAudioEngine?",
1702
- "children": [
1703
- {
1704
- "kind": "TypeNominal",
1705
- "name": "Optional",
1706
- "printedName": "AVFAudio.AVAudioEngine?",
1707
- "children": [
1708
- {
1709
- "kind": "TypeNominal",
1710
- "name": "AVAudioEngine",
1711
- "printedName": "AVFAudio.AVAudioEngine",
1712
- "usr": "c:objc(cs)AVAudioEngine"
1713
- }
1714
- ],
1715
- "usr": "s:Sq"
1716
- },
1717
- {
1718
- "kind": "TypeNominal",
1719
- "name": "Void",
1720
- "printedName": "()"
1721
- }
1722
- ]
1723
- }
1724
- ],
1725
- "usr": "s:Sq"
1726
- }
1727
- ],
1728
- "declKind": "Accessor",
1729
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvsZ",
1730
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvsZ",
1731
- "moduleName": "DavoiceTTS",
1732
- "static": true,
1733
- "implicit": true,
1734
- "accessorKind": "set"
1650
+ "kind": "TypeNominal",
1651
+ "name": "SFSpeechRecognizer",
1652
+ "printedName": "Speech.SFSpeechRecognizer",
1653
+ "usr": "c:objc(cs)SFSpeechRecognizer"
1735
1654
  },
1736
1655
  {
1737
- "kind": "Accessor",
1738
- "name": "Modify",
1739
- "printedName": "Modify()",
1740
- "children": [
1741
- {
1742
- "kind": "TypeNominal",
1743
- "name": "Void",
1744
- "printedName": "()"
1745
- }
1746
- ],
1747
- "declKind": "Accessor",
1748
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvMZ",
1749
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13currentEngineSo07AVAudioG0CSgycSgvMZ",
1750
- "moduleName": "DavoiceTTS",
1751
- "static": true,
1752
- "implicit": true,
1753
- "accessorKind": "_modify"
1656
+ "kind": "TypeNominal",
1657
+ "name": "Bool",
1658
+ "printedName": "Swift.Bool",
1659
+ "usr": "s:Sb"
1754
1660
  }
1755
- ]
1661
+ ],
1662
+ "declKind": "Func",
1663
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)speechRecognizer:availabilityDidChange:",
1664
+ "mangledName": "$s10DavoiceTTS3STTC16speechRecognizer_21availabilityDidChangeySo08SFSpeechE0C_SbtF",
1665
+ "moduleName": "DavoiceTTS",
1666
+ "objc_name": "speechRecognizer:availabilityDidChange:",
1667
+ "declAttributes": [
1668
+ "Final",
1669
+ "ObjC",
1670
+ "AccessControl",
1671
+ "RawDocComment"
1672
+ ],
1673
+ "funcSelfKind": "NonMutating"
1674
+ },
1675
+ {
1676
+ "kind": "Constructor",
1677
+ "name": "init",
1678
+ "printedName": "init()",
1679
+ "children": [
1680
+ {
1681
+ "kind": "TypeNominal",
1682
+ "name": "STT",
1683
+ "printedName": "DavoiceTTS.STT",
1684
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT"
1685
+ }
1686
+ ],
1687
+ "declKind": "Constructor",
1688
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)init",
1689
+ "mangledName": "$s10DavoiceTTS3STTCACycfc",
1690
+ "moduleName": "DavoiceTTS",
1691
+ "overriding": true,
1692
+ "implicit": true,
1693
+ "objc_name": "init",
1694
+ "declAttributes": [
1695
+ "Dynamic",
1696
+ "ObjC",
1697
+ "Override"
1698
+ ],
1699
+ "init_kind": "Designated"
1756
1700
  }
1757
1701
  ],
1758
- "declKind": "Enum",
1759
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
1760
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
1702
+ "declKind": "Class",
1703
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT",
1704
+ "mangledName": "$s10DavoiceTTS3STTC",
1761
1705
  "moduleName": "DavoiceTTS",
1762
1706
  "declAttributes": [
1707
+ "Final",
1763
1708
  "AccessControl",
1764
- "RawDocComment"
1709
+ "ObjCMembers",
1710
+ "ObjC"
1711
+ ],
1712
+ "superclassUsr": "c:objc(cs)NSObject",
1713
+ "inheritsConvenienceInitializers": true,
1714
+ "superclassNames": [
1715
+ "ObjectiveC.NSObject"
1765
1716
  ],
1766
1717
  "conformances": [
1767
1718
  {
@@ -1777,6 +1728,55 @@
1777
1728
  "printedName": "Escapable",
1778
1729
  "usr": "s:s9EscapableP",
1779
1730
  "mangledName": "$ss9EscapableP"
1731
+ },
1732
+ {
1733
+ "kind": "Conformance",
1734
+ "name": "Equatable",
1735
+ "printedName": "Equatable",
1736
+ "usr": "s:SQ",
1737
+ "mangledName": "$sSQ"
1738
+ },
1739
+ {
1740
+ "kind": "Conformance",
1741
+ "name": "Hashable",
1742
+ "printedName": "Hashable",
1743
+ "usr": "s:SH",
1744
+ "mangledName": "$sSH"
1745
+ },
1746
+ {
1747
+ "kind": "Conformance",
1748
+ "name": "CVarArg",
1749
+ "printedName": "CVarArg",
1750
+ "usr": "s:s7CVarArgP",
1751
+ "mangledName": "$ss7CVarArgP"
1752
+ },
1753
+ {
1754
+ "kind": "Conformance",
1755
+ "name": "_KeyValueCodingAndObservingPublishing",
1756
+ "printedName": "_KeyValueCodingAndObservingPublishing",
1757
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
1758
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
1759
+ },
1760
+ {
1761
+ "kind": "Conformance",
1762
+ "name": "_KeyValueCodingAndObserving",
1763
+ "printedName": "_KeyValueCodingAndObserving",
1764
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
1765
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
1766
+ },
1767
+ {
1768
+ "kind": "Conformance",
1769
+ "name": "CustomStringConvertible",
1770
+ "printedName": "CustomStringConvertible",
1771
+ "usr": "s:s23CustomStringConvertibleP",
1772
+ "mangledName": "$ss23CustomStringConvertibleP"
1773
+ },
1774
+ {
1775
+ "kind": "Conformance",
1776
+ "name": "CustomDebugStringConvertible",
1777
+ "printedName": "CustomDebugStringConvertible",
1778
+ "usr": "s:s28CustomDebugStringConvertibleP",
1779
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
1780
1780
  }
1781
1781
  ]
1782
1782
  },
@@ -3484,6 +3484,78 @@
3484
3484
  "throwing": true,
3485
3485
  "funcSelfKind": "NonMutating"
3486
3486
  },
3487
+ {
3488
+ "kind": "Function",
3489
+ "name": "playWav",
3490
+ "printedName": "playWav(_:markAsLastUtterance:)",
3491
+ "children": [
3492
+ {
3493
+ "kind": "TypeNominal",
3494
+ "name": "Void",
3495
+ "printedName": "()"
3496
+ },
3497
+ {
3498
+ "kind": "TypeNominal",
3499
+ "name": "URL",
3500
+ "printedName": "Foundation.URL",
3501
+ "usr": "s:10Foundation3URLV"
3502
+ },
3503
+ {
3504
+ "kind": "TypeNominal",
3505
+ "name": "Bool",
3506
+ "printedName": "Swift.Bool",
3507
+ "hasDefaultArg": true,
3508
+ "usr": "s:Sb"
3509
+ }
3510
+ ],
3511
+ "declKind": "Func",
3512
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playWav:markAsLastUtterance:",
3513
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C7playWav_19markAsLastUtterancey10Foundation3URLV_SbtF",
3514
+ "moduleName": "DavoiceTTS",
3515
+ "declAttributes": [
3516
+ "Final",
3517
+ "AccessControl",
3518
+ "ObjC",
3519
+ "RawDocComment"
3520
+ ],
3521
+ "funcSelfKind": "NonMutating"
3522
+ },
3523
+ {
3524
+ "kind": "Function",
3525
+ "name": "playBuffer",
3526
+ "printedName": "playBuffer(_:markAsLastUtterance:)",
3527
+ "children": [
3528
+ {
3529
+ "kind": "TypeNominal",
3530
+ "name": "Void",
3531
+ "printedName": "()"
3532
+ },
3533
+ {
3534
+ "kind": "TypeNominal",
3535
+ "name": "AVAudioPCMBuffer",
3536
+ "printedName": "AVFAudio.AVAudioPCMBuffer",
3537
+ "usr": "c:objc(cs)AVAudioPCMBuffer"
3538
+ },
3539
+ {
3540
+ "kind": "TypeNominal",
3541
+ "name": "Bool",
3542
+ "printedName": "Swift.Bool",
3543
+ "hasDefaultArg": true,
3544
+ "usr": "s:Sb"
3545
+ }
3546
+ ],
3547
+ "declKind": "Func",
3548
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)playBuffer:markAsLastUtterance:",
3549
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C10playBuffer_19markAsLastUtteranceySo16AVAudioPCMBufferC_SbtF",
3550
+ "moduleName": "DavoiceTTS",
3551
+ "declAttributes": [
3552
+ "Final",
3553
+ "AccessControl",
3554
+ "ObjC",
3555
+ "RawDocComment"
3556
+ ],
3557
+ "funcSelfKind": "NonMutating"
3558
+ },
3487
3559
  {
3488
3560
  "kind": "Constructor",
3489
3561
  "name": "init",
@@ -5652,6 +5724,20 @@
5652
5724
  "offset": 55239,
5653
5725
  "length": 1,
5654
5726
  "value": "0"
5727
+ },
5728
+ {
5729
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
5730
+ "kind": "BooleanLiteral",
5731
+ "offset": 66233,
5732
+ "length": 4,
5733
+ "value": "true"
5734
+ },
5735
+ {
5736
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceTTS.swift",
5737
+ "kind": "BooleanLiteral",
5738
+ "offset": 67199,
5739
+ "length": 4,
5740
+ "value": "true"
5655
5741
  }
5656
5742
  ]
5657
5743
  }