react-native-davoice-tts 1.0.209 → 1.0.211

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 (21) hide show
  1. package/TTSRNBridge.podspec +1 -1
  2. package/ios/SpeechBridge/SpeechBridge.m +7 -5
  3. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DaVoiceSTT.swift__ +1329 -0
  4. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
  5. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +2 -2
  6. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +1356 -1350
  7. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -12
  8. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +12 -12
  9. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DaVoiceSTT.swift__ +1329 -0
  10. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
  11. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +4 -4
  12. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +2004 -1998
  13. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +30 -30
  14. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +30 -30
  15. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +2004 -1998
  16. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +30 -30
  17. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +30 -30
  18. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
  19. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
  20. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +42 -27
  21. package/package.json +1 -1
@@ -431,60 +431,40 @@
431
431
  },
432
432
  {
433
433
  "kind": "Function",
434
- "name": "isSpeechAvailable",
435
- "printedName": "isSpeechAvailable(_:)",
434
+ "name": "unPauseMicrophone",
435
+ "printedName": "unPauseMicrophone()",
436
436
  "children": [
437
437
  {
438
438
  "kind": "TypeNominal",
439
439
  "name": "Void",
440
440
  "printedName": "()"
441
- },
442
- {
443
- "kind": "TypeFunc",
444
- "name": "Function",
445
- "printedName": "(Swift.Bool) -> ()",
446
- "children": [
447
- {
448
- "kind": "TypeNominal",
449
- "name": "Void",
450
- "printedName": "()"
451
- },
452
- {
453
- "kind": "TypeNominal",
454
- "name": "Bool",
455
- "printedName": "Swift.Bool",
456
- "usr": "s:Sb"
457
- }
458
- ]
459
441
  }
460
442
  ],
461
443
  "declKind": "Func",
462
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
463
- "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
444
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
445
+ "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
464
446
  "moduleName": "DavoiceTTS",
465
447
  "declAttributes": [
466
448
  "Final",
467
449
  "AccessControl",
468
- "RawDocComment",
469
450
  "ObjC"
470
451
  ],
471
452
  "funcSelfKind": "NonMutating"
472
453
  },
473
454
  {
474
455
  "kind": "Function",
475
- "name": "isRecognizing",
476
- "printedName": "isRecognizing()",
456
+ "name": "pauseMicrophone",
457
+ "printedName": "pauseMicrophone()",
477
458
  "children": [
478
459
  {
479
460
  "kind": "TypeNominal",
480
- "name": "Bool",
481
- "printedName": "Swift.Bool",
482
- "usr": "s:Sb"
461
+ "name": "Void",
462
+ "printedName": "()"
483
463
  }
484
464
  ],
485
465
  "declKind": "Func",
486
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
487
- "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
466
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
467
+ "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
488
468
  "moduleName": "DavoiceTTS",
489
469
  "declAttributes": [
490
470
  "Final",
@@ -495,41 +475,60 @@
495
475
  },
496
476
  {
497
477
  "kind": "Function",
498
- "name": "pauseMicrophone",
499
- "printedName": "pauseMicrophone()",
478
+ "name": "isSpeechAvailable",
479
+ "printedName": "isSpeechAvailable(_:)",
500
480
  "children": [
501
481
  {
502
482
  "kind": "TypeNominal",
503
483
  "name": "Void",
504
484
  "printedName": "()"
485
+ },
486
+ {
487
+ "kind": "TypeFunc",
488
+ "name": "Function",
489
+ "printedName": "(Swift.Bool) -> ()",
490
+ "children": [
491
+ {
492
+ "kind": "TypeNominal",
493
+ "name": "Void",
494
+ "printedName": "()"
495
+ },
496
+ {
497
+ "kind": "TypeNominal",
498
+ "name": "Bool",
499
+ "printedName": "Swift.Bool",
500
+ "usr": "s:Sb"
501
+ }
502
+ ]
505
503
  }
506
504
  ],
507
505
  "declKind": "Func",
508
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)pauseMicrophone",
509
- "mangledName": "$s10DavoiceTTS3STTC15pauseMicrophoneyyF",
506
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isSpeechAvailable:",
507
+ "mangledName": "$s10DavoiceTTS3STTC17isSpeechAvailableyyySbcF",
510
508
  "moduleName": "DavoiceTTS",
511
509
  "declAttributes": [
512
510
  "Final",
513
511
  "AccessControl",
514
- "ObjC",
515
- "RawDocComment"
512
+ "RawDocComment",
513
+ "ObjC"
516
514
  ],
517
515
  "funcSelfKind": "NonMutating"
518
516
  },
519
517
  {
520
518
  "kind": "Function",
521
- "name": "unPauseMicrophone",
522
- "printedName": "unPauseMicrophone()",
519
+ "name": "isRecognizing",
520
+ "printedName": "isRecognizing()",
523
521
  "children": [
524
522
  {
525
523
  "kind": "TypeNominal",
526
- "name": "Void",
527
- "printedName": "()"
524
+ "name": "Bool",
525
+ "printedName": "Swift.Bool",
526
+ "usr": "s:Sb"
528
527
  }
529
528
  ],
530
529
  "declKind": "Func",
531
- "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)unPauseMicrophone",
532
- "mangledName": "$s10DavoiceTTS3STTC17unPauseMicrophoneyyF",
530
+ "usr": "c:@M@DavoiceTTS@objc(cs)STT(im)isRecognizing",
531
+ "mangledName": "$s10DavoiceTTS3STTC13isRecognizingSbyF",
533
532
  "moduleName": "DavoiceTTS",
534
533
  "declAttributes": [
535
534
  "Final",
@@ -897,60 +896,79 @@
897
896
  "RawDocComment"
898
897
  ]
899
898
  },
900
- {
901
- "kind": "Import",
902
- "name": "onnxruntime_objc",
903
- "printedName": "onnxruntime_objc",
904
- "declKind": "Import",
905
- "moduleName": "DavoiceTTS"
906
- },
907
- {
908
- "kind": "Import",
909
- "name": "phonemes",
910
- "printedName": "phonemes",
911
- "declKind": "Import",
912
- "moduleName": "DavoiceTTS",
913
- "declAttributes": [
914
- "RawDocComment"
915
- ]
916
- },
917
- {
918
- "kind": "Import",
919
- "name": "AVFoundation",
920
- "printedName": "AVFoundation",
921
- "declKind": "Import",
922
- "moduleName": "DavoiceTTS"
923
- },
924
899
  {
925
900
  "kind": "TypeDecl",
926
- "name": "SwiftSoundQueue",
927
- "printedName": "SwiftSoundQueue",
901
+ "name": "AudioPlaybackHook",
902
+ "printedName": "AudioPlaybackHook",
928
903
  "children": [
929
904
  {
930
905
  "kind": "Var",
931
- "name": "shared",
932
- "printedName": "shared",
906
+ "name": "engineScheduleFile",
907
+ "printedName": "engineScheduleFile",
933
908
  "children": [
934
909
  {
935
910
  "kind": "TypeNominal",
936
- "name": "SwiftSoundQueue",
937
- "printedName": "DavoiceTTS.SwiftSoundQueue",
938
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
911
+ "name": "Optional",
912
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
913
+ "children": [
914
+ {
915
+ "kind": "TypeFunc",
916
+ "name": "Function",
917
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
918
+ "children": [
919
+ {
920
+ "kind": "TypeNominal",
921
+ "name": "Bool",
922
+ "printedName": "Swift.Bool",
923
+ "usr": "s:Sb"
924
+ },
925
+ {
926
+ "kind": "TypeNominal",
927
+ "name": "Tuple",
928
+ "printedName": "(Foundation.URL, () -> ())",
929
+ "children": [
930
+ {
931
+ "kind": "TypeNominal",
932
+ "name": "URL",
933
+ "printedName": "Foundation.URL",
934
+ "usr": "s:10Foundation3URLV"
935
+ },
936
+ {
937
+ "kind": "TypeFunc",
938
+ "name": "Function",
939
+ "printedName": "() -> ()",
940
+ "children": [
941
+ {
942
+ "kind": "TypeNominal",
943
+ "name": "Void",
944
+ "printedName": "()"
945
+ },
946
+ {
947
+ "kind": "TypeNominal",
948
+ "name": "Void",
949
+ "printedName": "()"
950
+ }
951
+ ]
952
+ }
953
+ ]
954
+ }
955
+ ]
956
+ }
957
+ ],
958
+ "usr": "s:Sq"
939
959
  }
940
960
  ],
941
961
  "declKind": "Var",
942
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
943
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
962
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
963
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
944
964
  "moduleName": "DavoiceTTS",
945
965
  "static": true,
946
966
  "declAttributes": [
947
967
  "HasInitialValue",
948
- "Final",
949
968
  "HasStorage",
950
969
  "AccessControl",
951
970
  "RawDocComment"
952
971
  ],
953
- "isLet": true,
954
972
  "hasStorage": true,
955
973
  "accessors": [
956
974
  {
@@ -960,44 +978,68 @@
960
978
  "children": [
961
979
  {
962
980
  "kind": "TypeNominal",
963
- "name": "SwiftSoundQueue",
964
- "printedName": "DavoiceTTS.SwiftSoundQueue",
965
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
981
+ "name": "Optional",
982
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
983
+ "children": [
984
+ {
985
+ "kind": "TypeFunc",
986
+ "name": "Function",
987
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
988
+ "children": [
989
+ {
990
+ "kind": "TypeNominal",
991
+ "name": "Bool",
992
+ "printedName": "Swift.Bool",
993
+ "usr": "s:Sb"
994
+ },
995
+ {
996
+ "kind": "TypeNominal",
997
+ "name": "Tuple",
998
+ "printedName": "(Foundation.URL, () -> ())",
999
+ "children": [
1000
+ {
1001
+ "kind": "TypeNominal",
1002
+ "name": "URL",
1003
+ "printedName": "Foundation.URL",
1004
+ "usr": "s:10Foundation3URLV"
1005
+ },
1006
+ {
1007
+ "kind": "TypeFunc",
1008
+ "name": "Function",
1009
+ "printedName": "() -> ()",
1010
+ "children": [
1011
+ {
1012
+ "kind": "TypeNominal",
1013
+ "name": "Void",
1014
+ "printedName": "()"
1015
+ },
1016
+ {
1017
+ "kind": "TypeNominal",
1018
+ "name": "Void",
1019
+ "printedName": "()"
1020
+ }
1021
+ ]
1022
+ }
1023
+ ]
1024
+ }
1025
+ ]
1026
+ }
1027
+ ],
1028
+ "usr": "s:Sq"
966
1029
  }
967
1030
  ],
968
1031
  "declKind": "Accessor",
969
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
970
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
1032
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
1033
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
971
1034
  "moduleName": "DavoiceTTS",
972
1035
  "static": true,
973
1036
  "implicit": true,
974
- "declAttributes": [
975
- "Final"
976
- ],
977
1037
  "accessorKind": "get"
978
- }
979
- ]
980
- },
981
- {
982
- "kind": "Function",
983
- "name": "notifyWhenURLFinishes",
984
- "printedName": "notifyWhenURLFinishes(_:_:)",
985
- "children": [
986
- {
987
- "kind": "TypeNominal",
988
- "name": "Void",
989
- "printedName": "()"
990
- },
991
- {
992
- "kind": "TypeNominal",
993
- "name": "URL",
994
- "printedName": "Foundation.URL",
995
- "usr": "s:10Foundation3URLV"
996
1038
  },
997
1039
  {
998
- "kind": "TypeFunc",
999
- "name": "Function",
1000
- "printedName": "() -> ()",
1040
+ "kind": "Accessor",
1041
+ "name": "Set",
1042
+ "printedName": "Set()",
1001
1043
  "children": [
1002
1044
  {
1003
1045
  "kind": "TypeNominal",
@@ -1006,48 +1048,110 @@
1006
1048
  },
1007
1049
  {
1008
1050
  "kind": "TypeNominal",
1009
- "name": "Void",
1010
- "printedName": "()"
1051
+ "name": "Optional",
1052
+ "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
1053
+ "children": [
1054
+ {
1055
+ "kind": "TypeFunc",
1056
+ "name": "Function",
1057
+ "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
1058
+ "children": [
1059
+ {
1060
+ "kind": "TypeNominal",
1061
+ "name": "Bool",
1062
+ "printedName": "Swift.Bool",
1063
+ "usr": "s:Sb"
1064
+ },
1065
+ {
1066
+ "kind": "TypeNominal",
1067
+ "name": "Tuple",
1068
+ "printedName": "(Foundation.URL, () -> ())",
1069
+ "children": [
1070
+ {
1071
+ "kind": "TypeNominal",
1072
+ "name": "URL",
1073
+ "printedName": "Foundation.URL",
1074
+ "usr": "s:10Foundation3URLV"
1075
+ },
1076
+ {
1077
+ "kind": "TypeFunc",
1078
+ "name": "Function",
1079
+ "printedName": "() -> ()",
1080
+ "children": [
1081
+ {
1082
+ "kind": "TypeNominal",
1083
+ "name": "Void",
1084
+ "printedName": "()"
1085
+ },
1086
+ {
1087
+ "kind": "TypeNominal",
1088
+ "name": "Void",
1089
+ "printedName": "()"
1090
+ }
1091
+ ]
1092
+ }
1093
+ ]
1094
+ }
1095
+ ]
1096
+ }
1097
+ ],
1098
+ "usr": "s:Sq"
1011
1099
  }
1012
- ]
1100
+ ],
1101
+ "declKind": "Accessor",
1102
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1103
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
1104
+ "moduleName": "DavoiceTTS",
1105
+ "static": true,
1106
+ "implicit": true,
1107
+ "accessorKind": "set"
1108
+ },
1109
+ {
1110
+ "kind": "Accessor",
1111
+ "name": "Modify",
1112
+ "printedName": "Modify()",
1113
+ "children": [
1114
+ {
1115
+ "kind": "TypeNominal",
1116
+ "name": "Void",
1117
+ "printedName": "()"
1118
+ }
1119
+ ],
1120
+ "declKind": "Accessor",
1121
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1122
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
1123
+ "moduleName": "DavoiceTTS",
1124
+ "static": true,
1125
+ "implicit": true,
1126
+ "accessorKind": "_modify"
1013
1127
  }
1014
- ],
1015
- "declKind": "Func",
1016
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1017
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1018
- "moduleName": "DavoiceTTS",
1019
- "declAttributes": [
1020
- "Final",
1021
- "AccessControl",
1022
- "RawDocComment"
1023
- ],
1024
- "funcSelfKind": "NonMutating"
1128
+ ]
1025
1129
  },
1026
1130
  {
1027
1131
  "kind": "Var",
1028
- "name": "onItemDone",
1029
- "printedName": "onItemDone",
1132
+ "name": "isEngineReady",
1133
+ "printedName": "isEngineReady",
1030
1134
  "children": [
1031
1135
  {
1032
1136
  "kind": "TypeNominal",
1033
1137
  "name": "Optional",
1034
- "printedName": "((Foundation.URL) -> ())?",
1138
+ "printedName": "(() -> Swift.Bool)?",
1035
1139
  "children": [
1036
1140
  {
1037
1141
  "kind": "TypeFunc",
1038
1142
  "name": "Function",
1039
- "printedName": "(Foundation.URL) -> ()",
1143
+ "printedName": "() -> Swift.Bool",
1040
1144
  "children": [
1041
1145
  {
1042
1146
  "kind": "TypeNominal",
1043
- "name": "Void",
1044
- "printedName": "()"
1147
+ "name": "Bool",
1148
+ "printedName": "Swift.Bool",
1149
+ "usr": "s:Sb"
1045
1150
  },
1046
1151
  {
1047
1152
  "kind": "TypeNominal",
1048
- "name": "URL",
1049
- "printedName": "Foundation.URL",
1050
- "usr": "s:10Foundation3URLV"
1153
+ "name": "Void",
1154
+ "printedName": "()"
1051
1155
  }
1052
1156
  ]
1053
1157
  }
@@ -1056,12 +1160,12 @@
1056
1160
  }
1057
1161
  ],
1058
1162
  "declKind": "Var",
1059
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1060
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1163
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1164
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
1061
1165
  "moduleName": "DavoiceTTS",
1166
+ "static": true,
1062
1167
  "declAttributes": [
1063
1168
  "HasInitialValue",
1064
- "Final",
1065
1169
  "HasStorage",
1066
1170
  "AccessControl",
1067
1171
  "RawDocComment"
@@ -1076,23 +1180,23 @@
1076
1180
  {
1077
1181
  "kind": "TypeNominal",
1078
1182
  "name": "Optional",
1079
- "printedName": "((Foundation.URL) -> ())?",
1183
+ "printedName": "(() -> Swift.Bool)?",
1080
1184
  "children": [
1081
1185
  {
1082
1186
  "kind": "TypeFunc",
1083
1187
  "name": "Function",
1084
- "printedName": "(Foundation.URL) -> ()",
1188
+ "printedName": "() -> Swift.Bool",
1085
1189
  "children": [
1086
1190
  {
1087
1191
  "kind": "TypeNominal",
1088
- "name": "Void",
1089
- "printedName": "()"
1192
+ "name": "Bool",
1193
+ "printedName": "Swift.Bool",
1194
+ "usr": "s:Sb"
1090
1195
  },
1091
1196
  {
1092
1197
  "kind": "TypeNominal",
1093
- "name": "URL",
1094
- "printedName": "Foundation.URL",
1095
- "usr": "s:10Foundation3URLV"
1198
+ "name": "Void",
1199
+ "printedName": "()"
1096
1200
  }
1097
1201
  ]
1098
1202
  }
@@ -1101,13 +1205,11 @@
1101
1205
  }
1102
1206
  ],
1103
1207
  "declKind": "Accessor",
1104
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1105
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1208
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1209
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
1106
1210
  "moduleName": "DavoiceTTS",
1211
+ "static": true,
1107
1212
  "implicit": true,
1108
- "declAttributes": [
1109
- "Final"
1110
- ],
1111
1213
  "accessorKind": "get"
1112
1214
  },
1113
1215
  {
@@ -1123,23 +1225,23 @@
1123
1225
  {
1124
1226
  "kind": "TypeNominal",
1125
1227
  "name": "Optional",
1126
- "printedName": "((Foundation.URL) -> ())?",
1228
+ "printedName": "(() -> Swift.Bool)?",
1127
1229
  "children": [
1128
1230
  {
1129
1231
  "kind": "TypeFunc",
1130
1232
  "name": "Function",
1131
- "printedName": "(Foundation.URL) -> ()",
1233
+ "printedName": "() -> Swift.Bool",
1132
1234
  "children": [
1133
1235
  {
1134
1236
  "kind": "TypeNominal",
1135
- "name": "Void",
1136
- "printedName": "()"
1237
+ "name": "Bool",
1238
+ "printedName": "Swift.Bool",
1239
+ "usr": "s:Sb"
1137
1240
  },
1138
1241
  {
1139
1242
  "kind": "TypeNominal",
1140
- "name": "URL",
1141
- "printedName": "Foundation.URL",
1142
- "usr": "s:10Foundation3URLV"
1243
+ "name": "Void",
1244
+ "printedName": "()"
1143
1245
  }
1144
1246
  ]
1145
1247
  }
@@ -1148,13 +1250,11 @@
1148
1250
  }
1149
1251
  ],
1150
1252
  "declKind": "Accessor",
1151
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1152
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1253
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1254
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
1153
1255
  "moduleName": "DavoiceTTS",
1256
+ "static": true,
1154
1257
  "implicit": true,
1155
- "declAttributes": [
1156
- "Final"
1157
- ],
1158
1258
  "accessorKind": "set"
1159
1259
  },
1160
1260
  {
@@ -1169,36 +1269,35 @@
1169
1269
  }
1170
1270
  ],
1171
1271
  "declKind": "Accessor",
1172
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1173
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1272
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1273
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
1174
1274
  "moduleName": "DavoiceTTS",
1275
+ "static": true,
1175
1276
  "implicit": true,
1176
- "declAttributes": [
1177
- "Final"
1178
- ],
1179
1277
  "accessorKind": "_modify"
1180
1278
  }
1181
1279
  ]
1182
1280
  },
1183
1281
  {
1184
1282
  "kind": "Var",
1185
- "name": "onQueueEmpty",
1186
- "printedName": "onQueueEmpty",
1283
+ "name": "useOnlyEnginePlayback",
1284
+ "printedName": "useOnlyEnginePlayback",
1187
1285
  "children": [
1188
1286
  {
1189
1287
  "kind": "TypeNominal",
1190
1288
  "name": "Optional",
1191
- "printedName": "(() -> ())?",
1289
+ "printedName": "(() -> Swift.Bool)?",
1192
1290
  "children": [
1193
1291
  {
1194
1292
  "kind": "TypeFunc",
1195
1293
  "name": "Function",
1196
- "printedName": "() -> ()",
1294
+ "printedName": "() -> Swift.Bool",
1197
1295
  "children": [
1198
1296
  {
1199
1297
  "kind": "TypeNominal",
1200
- "name": "Void",
1201
- "printedName": "()"
1298
+ "name": "Bool",
1299
+ "printedName": "Swift.Bool",
1300
+ "usr": "s:Sb"
1202
1301
  },
1203
1302
  {
1204
1303
  "kind": "TypeNominal",
@@ -1212,15 +1311,14 @@
1212
1311
  }
1213
1312
  ],
1214
1313
  "declKind": "Var",
1215
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1216
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1314
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1315
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
1217
1316
  "moduleName": "DavoiceTTS",
1317
+ "static": true,
1218
1318
  "declAttributes": [
1219
1319
  "HasInitialValue",
1220
- "Final",
1221
1320
  "HasStorage",
1222
- "AccessControl",
1223
- "RawDocComment"
1321
+ "AccessControl"
1224
1322
  ],
1225
1323
  "hasStorage": true,
1226
1324
  "accessors": [
@@ -1232,17 +1330,18 @@
1232
1330
  {
1233
1331
  "kind": "TypeNominal",
1234
1332
  "name": "Optional",
1235
- "printedName": "(() -> ())?",
1333
+ "printedName": "(() -> Swift.Bool)?",
1236
1334
  "children": [
1237
1335
  {
1238
1336
  "kind": "TypeFunc",
1239
1337
  "name": "Function",
1240
- "printedName": "() -> ()",
1338
+ "printedName": "() -> Swift.Bool",
1241
1339
  "children": [
1242
1340
  {
1243
1341
  "kind": "TypeNominal",
1244
- "name": "Void",
1245
- "printedName": "()"
1342
+ "name": "Bool",
1343
+ "printedName": "Swift.Bool",
1344
+ "usr": "s:Sb"
1246
1345
  },
1247
1346
  {
1248
1347
  "kind": "TypeNominal",
@@ -1256,13 +1355,11 @@
1256
1355
  }
1257
1356
  ],
1258
1357
  "declKind": "Accessor",
1259
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1260
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1358
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1359
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
1261
1360
  "moduleName": "DavoiceTTS",
1361
+ "static": true,
1262
1362
  "implicit": true,
1263
- "declAttributes": [
1264
- "Final"
1265
- ],
1266
1363
  "accessorKind": "get"
1267
1364
  },
1268
1365
  {
@@ -1278,17 +1375,18 @@
1278
1375
  {
1279
1376
  "kind": "TypeNominal",
1280
1377
  "name": "Optional",
1281
- "printedName": "(() -> ())?",
1378
+ "printedName": "(() -> Swift.Bool)?",
1282
1379
  "children": [
1283
1380
  {
1284
1381
  "kind": "TypeFunc",
1285
1382
  "name": "Function",
1286
- "printedName": "() -> ()",
1383
+ "printedName": "() -> Swift.Bool",
1287
1384
  "children": [
1288
1385
  {
1289
1386
  "kind": "TypeNominal",
1290
- "name": "Void",
1291
- "printedName": "()"
1387
+ "name": "Bool",
1388
+ "printedName": "Swift.Bool",
1389
+ "usr": "s:Sb"
1292
1390
  },
1293
1391
  {
1294
1392
  "kind": "TypeNominal",
@@ -1302,13 +1400,11 @@
1302
1400
  }
1303
1401
  ],
1304
1402
  "declKind": "Accessor",
1305
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
1306
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
1403
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1404
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
1307
1405
  "moduleName": "DavoiceTTS",
1406
+ "static": true,
1308
1407
  "implicit": true,
1309
- "declAttributes": [
1310
- "Final"
1311
- ],
1312
1408
  "accessorKind": "set"
1313
1409
  },
1314
1410
  {
@@ -1323,315 +1419,178 @@
1323
1419
  }
1324
1420
  ],
1325
1421
  "declKind": "Accessor",
1326
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
1327
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
1422
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1423
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
1328
1424
  "moduleName": "DavoiceTTS",
1425
+ "static": true,
1329
1426
  "implicit": true,
1330
- "declAttributes": [
1331
- "Final"
1332
- ],
1333
1427
  "accessorKind": "_modify"
1334
1428
  }
1335
1429
  ]
1336
1430
  },
1337
1431
  {
1338
- "kind": "Function",
1339
- "name": "enqueue",
1340
- "printedName": "enqueue(_:)",
1432
+ "kind": "Var",
1433
+ "name": "stopEnginePlayback",
1434
+ "printedName": "stopEnginePlayback",
1341
1435
  "children": [
1342
1436
  {
1343
1437
  "kind": "TypeNominal",
1344
- "name": "Void",
1345
- "printedName": "()"
1346
- },
1347
- {
1348
- "kind": "TypeNominal",
1349
- "name": "Source",
1350
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1351
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1352
- }
1353
- ],
1354
- "declKind": "Func",
1355
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1356
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1357
- "moduleName": "DavoiceTTS",
1358
- "declAttributes": [
1359
- "Final",
1360
- "AccessControl",
1361
- "RawDocComment"
1362
- ],
1363
- "funcSelfKind": "NonMutating"
1364
- },
1365
- {
1366
- "kind": "Function",
1367
- "name": "enqueueMany",
1368
- "printedName": "enqueueMany(_:)",
1369
- "children": [
1370
- {
1371
- "kind": "TypeNominal",
1372
- "name": "Void",
1373
- "printedName": "()"
1374
- },
1375
- {
1376
- "kind": "TypeNominal",
1377
- "name": "Array",
1378
- "printedName": "[DavoiceTTS.SwiftSoundQueue.Source]",
1438
+ "name": "Optional",
1439
+ "printedName": "(() -> ())?",
1379
1440
  "children": [
1380
1441
  {
1381
- "kind": "TypeNominal",
1382
- "name": "Source",
1383
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1384
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1442
+ "kind": "TypeFunc",
1443
+ "name": "Function",
1444
+ "printedName": "() -> ()",
1445
+ "children": [
1446
+ {
1447
+ "kind": "TypeNominal",
1448
+ "name": "Void",
1449
+ "printedName": "()"
1450
+ },
1451
+ {
1452
+ "kind": "TypeNominal",
1453
+ "name": "Void",
1454
+ "printedName": "()"
1455
+ }
1456
+ ]
1385
1457
  }
1386
1458
  ],
1387
- "usr": "s:Sa"
1388
- }
1389
- ],
1390
- "declKind": "Func",
1391
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
1392
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
1393
- "moduleName": "DavoiceTTS",
1394
- "declAttributes": [
1395
- "Final",
1396
- "AccessControl",
1397
- "RawDocComment"
1398
- ],
1399
- "funcSelfKind": "NonMutating"
1400
- },
1401
- {
1402
- "kind": "Function",
1403
- "name": "stop",
1404
- "printedName": "stop()",
1405
- "children": [
1406
- {
1407
- "kind": "TypeNominal",
1408
- "name": "Void",
1409
- "printedName": "()"
1459
+ "usr": "s:Sq"
1410
1460
  }
1411
1461
  ],
1412
- "declKind": "Func",
1413
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC4stopyyF",
1414
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC4stopyyF",
1462
+ "declKind": "Var",
1463
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1464
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
1415
1465
  "moduleName": "DavoiceTTS",
1466
+ "static": true,
1416
1467
  "declAttributes": [
1417
- "Final",
1418
- "AccessControl",
1419
- "RawDocComment"
1468
+ "HasInitialValue",
1469
+ "HasStorage",
1470
+ "AccessControl"
1420
1471
  ],
1421
- "funcSelfKind": "NonMutating"
1422
- },
1423
- {
1424
- "kind": "TypeDecl",
1425
- "name": "Source",
1426
- "printedName": "Source",
1427
- "children": [
1472
+ "hasStorage": true,
1473
+ "accessors": [
1428
1474
  {
1429
- "kind": "Var",
1430
- "name": "fileURL",
1431
- "printedName": "fileURL",
1475
+ "kind": "Accessor",
1476
+ "name": "Get",
1477
+ "printedName": "Get()",
1432
1478
  "children": [
1433
1479
  {
1434
- "kind": "TypeFunc",
1435
- "name": "Function",
1436
- "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
1480
+ "kind": "TypeNominal",
1481
+ "name": "Optional",
1482
+ "printedName": "(() -> ())?",
1437
1483
  "children": [
1438
1484
  {
1439
1485
  "kind": "TypeFunc",
1440
1486
  "name": "Function",
1441
- "printedName": "(Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
1487
+ "printedName": "() -> ()",
1442
1488
  "children": [
1443
1489
  {
1444
1490
  "kind": "TypeNominal",
1445
- "name": "Source",
1446
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1447
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1491
+ "name": "Void",
1492
+ "printedName": "()"
1448
1493
  },
1449
1494
  {
1450
1495
  "kind": "TypeNominal",
1451
- "name": "URL",
1452
- "printedName": "Foundation.URL",
1453
- "usr": "s:10Foundation3URLV"
1454
- }
1455
- ]
1456
- },
1457
- {
1458
- "kind": "TypeNominal",
1459
- "name": "Metatype",
1460
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
1461
- "children": [
1462
- {
1463
- "kind": "TypeNominal",
1464
- "name": "Source",
1465
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1466
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1496
+ "name": "Void",
1497
+ "printedName": "()"
1467
1498
  }
1468
1499
  ]
1469
1500
  }
1470
- ]
1501
+ ],
1502
+ "usr": "s:Sq"
1471
1503
  }
1472
1504
  ],
1473
- "declKind": "EnumElement",
1474
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
1475
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
1476
- "moduleName": "DavoiceTTS"
1505
+ "declKind": "Accessor",
1506
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1507
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
1508
+ "moduleName": "DavoiceTTS",
1509
+ "static": true,
1510
+ "implicit": true,
1511
+ "accessorKind": "get"
1477
1512
  },
1478
1513
  {
1479
- "kind": "Var",
1480
- "name": "named",
1481
- "printedName": "named",
1514
+ "kind": "Accessor",
1515
+ "name": "Set",
1516
+ "printedName": "Set()",
1482
1517
  "children": [
1483
1518
  {
1484
- "kind": "TypeFunc",
1485
- "name": "Function",
1486
- "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
1519
+ "kind": "TypeNominal",
1520
+ "name": "Void",
1521
+ "printedName": "()"
1522
+ },
1523
+ {
1524
+ "kind": "TypeNominal",
1525
+ "name": "Optional",
1526
+ "printedName": "(() -> ())?",
1487
1527
  "children": [
1488
1528
  {
1489
1529
  "kind": "TypeFunc",
1490
1530
  "name": "Function",
1491
- "printedName": "(Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
1531
+ "printedName": "() -> ()",
1492
1532
  "children": [
1493
1533
  {
1494
1534
  "kind": "TypeNominal",
1495
- "name": "Source",
1496
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1497
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1535
+ "name": "Void",
1536
+ "printedName": "()"
1498
1537
  },
1499
1538
  {
1500
1539
  "kind": "TypeNominal",
1501
- "name": "String",
1502
- "printedName": "Swift.String",
1503
- "usr": "s:SS"
1504
- }
1505
- ]
1506
- },
1507
- {
1508
- "kind": "TypeNominal",
1509
- "name": "Metatype",
1510
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
1511
- "children": [
1512
- {
1513
- "kind": "TypeNominal",
1514
- "name": "Source",
1515
- "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
1516
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1540
+ "name": "Void",
1541
+ "printedName": "()"
1517
1542
  }
1518
1543
  ]
1519
1544
  }
1520
- ]
1545
+ ],
1546
+ "usr": "s:Sq"
1521
1547
  }
1522
1548
  ],
1523
- "declKind": "EnumElement",
1524
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
1525
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
1526
- "moduleName": "DavoiceTTS"
1527
- }
1528
- ],
1529
- "declKind": "Enum",
1530
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO",
1531
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO",
1532
- "moduleName": "DavoiceTTS",
1533
- "declAttributes": [
1534
- "AccessControl",
1535
- "RawDocComment"
1536
- ],
1537
- "conformances": [
1538
- {
1539
- "kind": "Conformance",
1540
- "name": "Copyable",
1541
- "printedName": "Copyable",
1542
- "usr": "s:s8CopyableP",
1543
- "mangledName": "$ss8CopyableP"
1549
+ "declKind": "Accessor",
1550
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1551
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
1552
+ "moduleName": "DavoiceTTS",
1553
+ "static": true,
1554
+ "implicit": true,
1555
+ "accessorKind": "set"
1544
1556
  },
1545
1557
  {
1546
- "kind": "Conformance",
1547
- "name": "Escapable",
1548
- "printedName": "Escapable",
1549
- "usr": "s:s9EscapableP",
1550
- "mangledName": "$ss9EscapableP"
1558
+ "kind": "Accessor",
1559
+ "name": "Modify",
1560
+ "printedName": "Modify()",
1561
+ "children": [
1562
+ {
1563
+ "kind": "TypeNominal",
1564
+ "name": "Void",
1565
+ "printedName": "()"
1566
+ }
1567
+ ],
1568
+ "declKind": "Accessor",
1569
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1570
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
1571
+ "moduleName": "DavoiceTTS",
1572
+ "static": true,
1573
+ "implicit": true,
1574
+ "accessorKind": "_modify"
1551
1575
  }
1552
1576
  ]
1553
- },
1554
- {
1555
- "kind": "Function",
1556
- "name": "audioPlayerDidFinishPlaying",
1557
- "printedName": "audioPlayerDidFinishPlaying(_:successfully:)",
1558
- "children": [
1559
- {
1560
- "kind": "TypeNominal",
1561
- "name": "Void",
1562
- "printedName": "()"
1563
- },
1564
- {
1565
- "kind": "TypeNominal",
1566
- "name": "AVAudioPlayer",
1567
- "printedName": "AVFAudio.AVAudioPlayer",
1568
- "usr": "c:objc(cs)AVAudioPlayer"
1569
- },
1570
- {
1571
- "kind": "TypeNominal",
1572
- "name": "Bool",
1573
- "printedName": "Swift.Bool",
1574
- "usr": "s:Sb"
1575
- }
1576
- ],
1577
- "declKind": "Func",
1578
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue(im)audioPlayerDidFinishPlaying:successfully:",
1579
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC27audioPlayerDidFinishPlaying_12successfullyySo07AVAudioG0C_SbtF",
1580
- "moduleName": "DavoiceTTS",
1581
- "objc_name": "audioPlayerDidFinishPlaying:successfully:",
1582
- "declAttributes": [
1583
- "Final",
1584
- "ObjC",
1585
- "AccessControl",
1586
- "RawDocComment"
1587
- ],
1588
- "funcSelfKind": "NonMutating"
1589
- },
1590
- {
1591
- "kind": "Function",
1592
- "name": "activateSpeaker",
1593
- "printedName": "activateSpeaker()",
1594
- "children": [
1595
- {
1596
- "kind": "TypeNominal",
1597
- "name": "Void",
1598
- "printedName": "()"
1599
- }
1600
- ],
1601
- "declKind": "Func",
1602
- "usr": "s:10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
1603
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
1604
- "moduleName": "DavoiceTTS",
1605
- "declAttributes": [
1606
- "Final",
1607
- "AccessControl"
1608
- ],
1609
- "funcSelfKind": "NonMutating"
1610
- }
1611
- ],
1612
- "declKind": "Class",
1613
- "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue",
1614
- "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC",
1615
- "moduleName": "DavoiceTTS",
1616
- "declAttributes": [
1617
- "Final",
1618
- "AccessControl",
1619
- "RawDocComment",
1620
- "ObjC"
1621
- ],
1622
- "superclassUsr": "c:objc(cs)NSObject",
1623
- "hasMissingDesignatedInitializers": true,
1624
- "inheritsConvenienceInitializers": true,
1625
- "superclassNames": [
1626
- "ObjectiveC.NSObject"
1627
- ],
1628
- "conformances": [
1629
- {
1630
- "kind": "Conformance",
1631
- "name": "Copyable",
1632
- "printedName": "Copyable",
1633
- "usr": "s:s8CopyableP",
1634
- "mangledName": "$ss8CopyableP"
1577
+ }
1578
+ ],
1579
+ "declKind": "Enum",
1580
+ "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
1581
+ "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
1582
+ "moduleName": "DavoiceTTS",
1583
+ "declAttributes": [
1584
+ "AccessControl",
1585
+ "RawDocComment"
1586
+ ],
1587
+ "conformances": [
1588
+ {
1589
+ "kind": "Conformance",
1590
+ "name": "Copyable",
1591
+ "printedName": "Copyable",
1592
+ "usr": "s:s8CopyableP",
1593
+ "mangledName": "$ss8CopyableP"
1635
1594
  },
1636
1595
  {
1637
1596
  "kind": "Conformance",
@@ -1639,134 +1598,73 @@
1639
1598
  "printedName": "Escapable",
1640
1599
  "usr": "s:s9EscapableP",
1641
1600
  "mangledName": "$ss9EscapableP"
1642
- },
1643
- {
1644
- "kind": "Conformance",
1645
- "name": "Equatable",
1646
- "printedName": "Equatable",
1647
- "usr": "s:SQ",
1648
- "mangledName": "$sSQ"
1649
- },
1650
- {
1651
- "kind": "Conformance",
1652
- "name": "Hashable",
1653
- "printedName": "Hashable",
1654
- "usr": "s:SH",
1655
- "mangledName": "$sSH"
1656
- },
1657
- {
1658
- "kind": "Conformance",
1659
- "name": "CVarArg",
1660
- "printedName": "CVarArg",
1661
- "usr": "s:s7CVarArgP",
1662
- "mangledName": "$ss7CVarArgP"
1663
- },
1664
- {
1665
- "kind": "Conformance",
1666
- "name": "_KeyValueCodingAndObservingPublishing",
1667
- "printedName": "_KeyValueCodingAndObservingPublishing",
1668
- "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
1669
- "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
1670
- },
1671
- {
1672
- "kind": "Conformance",
1673
- "name": "_KeyValueCodingAndObserving",
1674
- "printedName": "_KeyValueCodingAndObserving",
1675
- "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
1676
- "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
1677
- },
1678
- {
1679
- "kind": "Conformance",
1680
- "name": "CustomStringConvertible",
1681
- "printedName": "CustomStringConvertible",
1682
- "usr": "s:s23CustomStringConvertibleP",
1683
- "mangledName": "$ss23CustomStringConvertibleP"
1684
- },
1685
- {
1686
- "kind": "Conformance",
1687
- "name": "CustomDebugStringConvertible",
1688
- "printedName": "CustomDebugStringConvertible",
1689
- "usr": "s:s28CustomDebugStringConvertibleP",
1690
- "mangledName": "$ss28CustomDebugStringConvertibleP"
1691
1601
  }
1692
1602
  ]
1693
1603
  },
1604
+ {
1605
+ "kind": "Import",
1606
+ "name": "Foundation",
1607
+ "printedName": "Foundation",
1608
+ "declKind": "Import",
1609
+ "moduleName": "DavoiceTTS",
1610
+ "declAttributes": [
1611
+ "RawDocComment"
1612
+ ]
1613
+ },
1614
+ {
1615
+ "kind": "Import",
1616
+ "name": "onnxruntime_objc",
1617
+ "printedName": "onnxruntime_objc",
1618
+ "declKind": "Import",
1619
+ "moduleName": "DavoiceTTS"
1620
+ },
1621
+ {
1622
+ "kind": "Import",
1623
+ "name": "phonemes",
1624
+ "printedName": "phonemes",
1625
+ "declKind": "Import",
1626
+ "moduleName": "DavoiceTTS",
1627
+ "declAttributes": [
1628
+ "RawDocComment"
1629
+ ]
1630
+ },
1631
+ {
1632
+ "kind": "Import",
1633
+ "name": "AVFoundation",
1634
+ "printedName": "AVFoundation",
1635
+ "declKind": "Import",
1636
+ "moduleName": "DavoiceTTS"
1637
+ },
1694
1638
  {
1695
1639
  "kind": "TypeDecl",
1696
- "name": "DaVoiceTTS",
1697
- "printedName": "DaVoiceTTS",
1640
+ "name": "SwiftSoundQueue",
1641
+ "printedName": "SwiftSoundQueue",
1698
1642
  "children": [
1699
- {
1700
- "kind": "TypeDecl",
1701
- "name": "Config",
1702
- "printedName": "Config",
1703
- "declKind": "Struct",
1704
- "usr": "s:10DavoiceTTS07DaVoiceB0C6ConfigV",
1705
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C6ConfigV",
1706
- "moduleName": "DavoiceTTS",
1707
- "declAttributes": [
1708
- "AccessControl"
1709
- ],
1710
- "conformances": [
1711
- {
1712
- "kind": "Conformance",
1713
- "name": "Copyable",
1714
- "printedName": "Copyable",
1715
- "usr": "s:s8CopyableP",
1716
- "mangledName": "$ss8CopyableP"
1717
- },
1718
- {
1719
- "kind": "Conformance",
1720
- "name": "Escapable",
1721
- "printedName": "Escapable",
1722
- "usr": "s:s9EscapableP",
1723
- "mangledName": "$ss9EscapableP"
1724
- }
1725
- ]
1726
- },
1727
1643
  {
1728
1644
  "kind": "Var",
1729
- "name": "onLastUtteranceFinished",
1730
- "printedName": "onLastUtteranceFinished",
1645
+ "name": "shared",
1646
+ "printedName": "shared",
1731
1647
  "children": [
1732
1648
  {
1733
1649
  "kind": "TypeNominal",
1734
- "name": "Optional",
1735
- "printedName": "(() -> ())?",
1736
- "children": [
1737
- {
1738
- "kind": "TypeFunc",
1739
- "name": "Function",
1740
- "printedName": "() -> ()",
1741
- "children": [
1742
- {
1743
- "kind": "TypeNominal",
1744
- "name": "Void",
1745
- "printedName": "()"
1746
- },
1747
- {
1748
- "kind": "TypeNominal",
1749
- "name": "Void",
1750
- "printedName": "()"
1751
- }
1752
- ]
1753
- }
1754
- ],
1755
- "usr": "s:Sq"
1650
+ "name": "SwiftSoundQueue",
1651
+ "printedName": "DavoiceTTS.SwiftSoundQueue",
1652
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
1756
1653
  }
1757
1654
  ],
1758
1655
  "declKind": "Var",
1759
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(py)onLastUtteranceFinished",
1760
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvp",
1656
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
1657
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvpZ",
1761
1658
  "moduleName": "DavoiceTTS",
1659
+ "static": true,
1762
1660
  "declAttributes": [
1763
1661
  "HasInitialValue",
1764
1662
  "Final",
1765
1663
  "HasStorage",
1766
1664
  "AccessControl",
1767
- "ObjC",
1768
1665
  "RawDocComment"
1769
1666
  ],
1667
+ "isLet": true,
1770
1668
  "hasStorage": true,
1771
1669
  "accessors": [
1772
1670
  {
@@ -1776,70 +1674,186 @@
1776
1674
  "children": [
1777
1675
  {
1778
1676
  "kind": "TypeNominal",
1779
- "name": "Optional",
1780
- "printedName": "(() -> ())?",
1781
- "children": [
1782
- {
1783
- "kind": "TypeFunc",
1784
- "name": "Function",
1785
- "printedName": "() -> ()",
1786
- "children": [
1787
- {
1788
- "kind": "TypeNominal",
1789
- "name": "Void",
1790
- "printedName": "()"
1791
- },
1792
- {
1793
- "kind": "TypeNominal",
1794
- "name": "Void",
1795
- "printedName": "()"
1796
- }
1797
- ]
1798
- }
1799
- ],
1800
- "usr": "s:Sq"
1677
+ "name": "SwiftSoundQueue",
1678
+ "printedName": "DavoiceTTS.SwiftSoundQueue",
1679
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue"
1801
1680
  }
1802
1681
  ],
1803
1682
  "declKind": "Accessor",
1804
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)onLastUtteranceFinished",
1805
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvg",
1683
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
1684
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6sharedACvgZ",
1806
1685
  "moduleName": "DavoiceTTS",
1686
+ "static": true,
1807
1687
  "implicit": true,
1808
1688
  "declAttributes": [
1809
- "Final",
1810
- "ObjC"
1689
+ "Final"
1811
1690
  ],
1812
1691
  "accessorKind": "get"
1813
- },
1814
- {
1815
- "kind": "Accessor",
1816
- "name": "Set",
1817
- "printedName": "Set()",
1692
+ }
1693
+ ]
1694
+ },
1695
+ {
1696
+ "kind": "Function",
1697
+ "name": "notifyWhenURLFinishes",
1698
+ "printedName": "notifyWhenURLFinishes(_:_:)",
1699
+ "children": [
1700
+ {
1701
+ "kind": "TypeNominal",
1702
+ "name": "Void",
1703
+ "printedName": "()"
1704
+ },
1705
+ {
1706
+ "kind": "TypeNominal",
1707
+ "name": "URL",
1708
+ "printedName": "Foundation.URL",
1709
+ "usr": "s:10Foundation3URLV"
1710
+ },
1711
+ {
1712
+ "kind": "TypeFunc",
1713
+ "name": "Function",
1714
+ "printedName": "() -> ()",
1818
1715
  "children": [
1819
1716
  {
1820
1717
  "kind": "TypeNominal",
1821
1718
  "name": "Void",
1822
1719
  "printedName": "()"
1823
1720
  },
1721
+ {
1722
+ "kind": "TypeNominal",
1723
+ "name": "Void",
1724
+ "printedName": "()"
1725
+ }
1726
+ ]
1727
+ }
1728
+ ],
1729
+ "declKind": "Func",
1730
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1731
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC21notifyWhenURLFinishesyy10Foundation3URLV_yyctF",
1732
+ "moduleName": "DavoiceTTS",
1733
+ "declAttributes": [
1734
+ "Final",
1735
+ "AccessControl",
1736
+ "RawDocComment"
1737
+ ],
1738
+ "funcSelfKind": "NonMutating"
1739
+ },
1740
+ {
1741
+ "kind": "Var",
1742
+ "name": "onItemDone",
1743
+ "printedName": "onItemDone",
1744
+ "children": [
1745
+ {
1746
+ "kind": "TypeNominal",
1747
+ "name": "Optional",
1748
+ "printedName": "((Foundation.URL) -> ())?",
1749
+ "children": [
1750
+ {
1751
+ "kind": "TypeFunc",
1752
+ "name": "Function",
1753
+ "printedName": "(Foundation.URL) -> ()",
1754
+ "children": [
1755
+ {
1756
+ "kind": "TypeNominal",
1757
+ "name": "Void",
1758
+ "printedName": "()"
1759
+ },
1760
+ {
1761
+ "kind": "TypeNominal",
1762
+ "name": "URL",
1763
+ "printedName": "Foundation.URL",
1764
+ "usr": "s:10Foundation3URLV"
1765
+ }
1766
+ ]
1767
+ }
1768
+ ],
1769
+ "usr": "s:Sq"
1770
+ }
1771
+ ],
1772
+ "declKind": "Var",
1773
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1774
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvp",
1775
+ "moduleName": "DavoiceTTS",
1776
+ "declAttributes": [
1777
+ "HasInitialValue",
1778
+ "Final",
1779
+ "HasStorage",
1780
+ "AccessControl",
1781
+ "RawDocComment"
1782
+ ],
1783
+ "hasStorage": true,
1784
+ "accessors": [
1785
+ {
1786
+ "kind": "Accessor",
1787
+ "name": "Get",
1788
+ "printedName": "Get()",
1789
+ "children": [
1824
1790
  {
1825
1791
  "kind": "TypeNominal",
1826
1792
  "name": "Optional",
1827
- "printedName": "(() -> ())?",
1793
+ "printedName": "((Foundation.URL) -> ())?",
1828
1794
  "children": [
1829
1795
  {
1830
1796
  "kind": "TypeFunc",
1831
1797
  "name": "Function",
1832
- "printedName": "() -> ()",
1798
+ "printedName": "(Foundation.URL) -> ()",
1833
1799
  "children": [
1834
1800
  {
1835
1801
  "kind": "TypeNominal",
1836
1802
  "name": "Void",
1837
1803
  "printedName": "()"
1838
1804
  },
1805
+ {
1806
+ "kind": "TypeNominal",
1807
+ "name": "URL",
1808
+ "printedName": "Foundation.URL",
1809
+ "usr": "s:10Foundation3URLV"
1810
+ }
1811
+ ]
1812
+ }
1813
+ ],
1814
+ "usr": "s:Sq"
1815
+ }
1816
+ ],
1817
+ "declKind": "Accessor",
1818
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1819
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvg",
1820
+ "moduleName": "DavoiceTTS",
1821
+ "implicit": true,
1822
+ "declAttributes": [
1823
+ "Final"
1824
+ ],
1825
+ "accessorKind": "get"
1826
+ },
1827
+ {
1828
+ "kind": "Accessor",
1829
+ "name": "Set",
1830
+ "printedName": "Set()",
1831
+ "children": [
1832
+ {
1833
+ "kind": "TypeNominal",
1834
+ "name": "Void",
1835
+ "printedName": "()"
1836
+ },
1837
+ {
1838
+ "kind": "TypeNominal",
1839
+ "name": "Optional",
1840
+ "printedName": "((Foundation.URL) -> ())?",
1841
+ "children": [
1842
+ {
1843
+ "kind": "TypeFunc",
1844
+ "name": "Function",
1845
+ "printedName": "(Foundation.URL) -> ()",
1846
+ "children": [
1839
1847
  {
1840
1848
  "kind": "TypeNominal",
1841
1849
  "name": "Void",
1842
1850
  "printedName": "()"
1851
+ },
1852
+ {
1853
+ "kind": "TypeNominal",
1854
+ "name": "URL",
1855
+ "printedName": "Foundation.URL",
1856
+ "usr": "s:10Foundation3URLV"
1843
1857
  }
1844
1858
  ]
1845
1859
  }
@@ -1848,13 +1862,12 @@
1848
1862
  }
1849
1863
  ],
1850
1864
  "declKind": "Accessor",
1851
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)setOnLastUtteranceFinished:",
1852
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvs",
1865
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1866
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvs",
1853
1867
  "moduleName": "DavoiceTTS",
1854
1868
  "implicit": true,
1855
1869
  "declAttributes": [
1856
- "Final",
1857
- "ObjC"
1870
+ "Final"
1858
1871
  ],
1859
1872
  "accessorKind": "set"
1860
1873
  },
@@ -1870,8 +1883,8 @@
1870
1883
  }
1871
1884
  ],
1872
1885
  "declKind": "Accessor",
1873
- "usr": "s:10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
1874
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
1886
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1887
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC10onItemDoney10Foundation3URLVcSgvM",
1875
1888
  "moduleName": "DavoiceTTS",
1876
1889
  "implicit": true,
1877
1890
  "declAttributes": [
@@ -1882,85 +1895,163 @@
1882
1895
  ]
1883
1896
  },
1884
1897
  {
1885
- "kind": "Constructor",
1886
- "name": "init",
1887
- "printedName": "init(model:)",
1888
- "children": [
1889
- {
1890
- "kind": "TypeNominal",
1891
- "name": "DaVoiceTTS",
1892
- "printedName": "DavoiceTTS.DaVoiceTTS",
1893
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
1894
- },
1895
- {
1896
- "kind": "TypeNominal",
1897
- "name": "URL",
1898
- "printedName": "Foundation.URL",
1899
- "usr": "s:10Foundation3URLV"
1900
- }
1901
- ],
1902
- "declKind": "Constructor",
1903
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)initWithModel:error:",
1904
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C5modelAC10Foundation3URLV_tKcfc",
1905
- "moduleName": "DavoiceTTS",
1906
- "objc_name": "initWithModel:error:",
1907
- "declAttributes": [
1908
- "AccessControl",
1909
- "ObjC"
1910
- ],
1911
- "throwing": true,
1912
- "init_kind": "Designated"
1913
- },
1914
- {
1915
- "kind": "Function",
1916
- "name": "stopSpeaking",
1917
- "printedName": "stopSpeaking()",
1898
+ "kind": "Var",
1899
+ "name": "onQueueEmpty",
1900
+ "printedName": "onQueueEmpty",
1918
1901
  "children": [
1919
1902
  {
1920
1903
  "kind": "TypeNominal",
1921
- "name": "Void",
1922
- "printedName": "()"
1904
+ "name": "Optional",
1905
+ "printedName": "(() -> ())?",
1906
+ "children": [
1907
+ {
1908
+ "kind": "TypeFunc",
1909
+ "name": "Function",
1910
+ "printedName": "() -> ()",
1911
+ "children": [
1912
+ {
1913
+ "kind": "TypeNominal",
1914
+ "name": "Void",
1915
+ "printedName": "()"
1916
+ },
1917
+ {
1918
+ "kind": "TypeNominal",
1919
+ "name": "Void",
1920
+ "printedName": "()"
1921
+ }
1922
+ ]
1923
+ }
1924
+ ],
1925
+ "usr": "s:Sq"
1923
1926
  }
1924
1927
  ],
1925
- "declKind": "Func",
1926
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)stopSpeaking",
1927
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C12stopSpeakingyyF",
1928
+ "declKind": "Var",
1929
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1930
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvp",
1928
1931
  "moduleName": "DavoiceTTS",
1929
1932
  "declAttributes": [
1933
+ "HasInitialValue",
1930
1934
  "Final",
1935
+ "HasStorage",
1931
1936
  "AccessControl",
1932
- "ObjC",
1933
1937
  "RawDocComment"
1934
1938
  ],
1935
- "funcSelfKind": "NonMutating"
1936
- },
1937
- {
1938
- "kind": "Function",
1939
- "name": "destroy",
1940
- "printedName": "destroy()",
1941
- "children": [
1939
+ "hasStorage": true,
1940
+ "accessors": [
1942
1941
  {
1943
- "kind": "TypeNominal",
1944
- "name": "Void",
1945
- "printedName": "()"
1946
- }
1947
- ],
1948
- "declKind": "Func",
1949
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)destroy",
1950
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C7destroyyyF",
1951
- "moduleName": "DavoiceTTS",
1952
- "declAttributes": [
1953
- "Final",
1954
- "AccessControl",
1955
- "ObjC",
1956
- "RawDocComment"
1957
- ],
1958
- "funcSelfKind": "NonMutating"
1959
- },
1960
- {
1961
- "kind": "Function",
1962
- "name": "speak",
1963
- "printedName": "speak(_:sid:)",
1942
+ "kind": "Accessor",
1943
+ "name": "Get",
1944
+ "printedName": "Get()",
1945
+ "children": [
1946
+ {
1947
+ "kind": "TypeNominal",
1948
+ "name": "Optional",
1949
+ "printedName": "(() -> ())?",
1950
+ "children": [
1951
+ {
1952
+ "kind": "TypeFunc",
1953
+ "name": "Function",
1954
+ "printedName": "() -> ()",
1955
+ "children": [
1956
+ {
1957
+ "kind": "TypeNominal",
1958
+ "name": "Void",
1959
+ "printedName": "()"
1960
+ },
1961
+ {
1962
+ "kind": "TypeNominal",
1963
+ "name": "Void",
1964
+ "printedName": "()"
1965
+ }
1966
+ ]
1967
+ }
1968
+ ],
1969
+ "usr": "s:Sq"
1970
+ }
1971
+ ],
1972
+ "declKind": "Accessor",
1973
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1974
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvg",
1975
+ "moduleName": "DavoiceTTS",
1976
+ "implicit": true,
1977
+ "declAttributes": [
1978
+ "Final"
1979
+ ],
1980
+ "accessorKind": "get"
1981
+ },
1982
+ {
1983
+ "kind": "Accessor",
1984
+ "name": "Set",
1985
+ "printedName": "Set()",
1986
+ "children": [
1987
+ {
1988
+ "kind": "TypeNominal",
1989
+ "name": "Void",
1990
+ "printedName": "()"
1991
+ },
1992
+ {
1993
+ "kind": "TypeNominal",
1994
+ "name": "Optional",
1995
+ "printedName": "(() -> ())?",
1996
+ "children": [
1997
+ {
1998
+ "kind": "TypeFunc",
1999
+ "name": "Function",
2000
+ "printedName": "() -> ()",
2001
+ "children": [
2002
+ {
2003
+ "kind": "TypeNominal",
2004
+ "name": "Void",
2005
+ "printedName": "()"
2006
+ },
2007
+ {
2008
+ "kind": "TypeNominal",
2009
+ "name": "Void",
2010
+ "printedName": "()"
2011
+ }
2012
+ ]
2013
+ }
2014
+ ],
2015
+ "usr": "s:Sq"
2016
+ }
2017
+ ],
2018
+ "declKind": "Accessor",
2019
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
2020
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvs",
2021
+ "moduleName": "DavoiceTTS",
2022
+ "implicit": true,
2023
+ "declAttributes": [
2024
+ "Final"
2025
+ ],
2026
+ "accessorKind": "set"
2027
+ },
2028
+ {
2029
+ "kind": "Accessor",
2030
+ "name": "Modify",
2031
+ "printedName": "Modify()",
2032
+ "children": [
2033
+ {
2034
+ "kind": "TypeNominal",
2035
+ "name": "Void",
2036
+ "printedName": "()"
2037
+ }
2038
+ ],
2039
+ "declKind": "Accessor",
2040
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
2041
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC02onE5EmptyyycSgvM",
2042
+ "moduleName": "DavoiceTTS",
2043
+ "implicit": true,
2044
+ "declAttributes": [
2045
+ "Final"
2046
+ ],
2047
+ "accessorKind": "_modify"
2048
+ }
2049
+ ]
2050
+ },
2051
+ {
2052
+ "kind": "Function",
2053
+ "name": "enqueue",
2054
+ "printedName": "enqueue(_:)",
1964
2055
  "children": [
1965
2056
  {
1966
2057
  "kind": "TypeNominal",
@@ -1969,181 +2060,282 @@
1969
2060
  },
1970
2061
  {
1971
2062
  "kind": "TypeNominal",
1972
- "name": "String",
1973
- "printedName": "Swift.String",
1974
- "usr": "s:SS"
1975
- },
1976
- {
1977
- "kind": "TypeNominal",
1978
- "name": "Int32",
1979
- "printedName": "Swift.Int32",
1980
- "hasDefaultArg": true,
1981
- "usr": "s:s5Int32V"
2063
+ "name": "Source",
2064
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2065
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
1982
2066
  }
1983
2067
  ],
1984
2068
  "declKind": "Func",
1985
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)speak:sid:",
1986
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C5speak_3sidySS_s5Int32VtF",
2069
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
2070
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC7enqueueyyAC6SourceOF",
1987
2071
  "moduleName": "DavoiceTTS",
1988
2072
  "declAttributes": [
1989
2073
  "Final",
1990
2074
  "AccessControl",
1991
- "ObjC"
2075
+ "RawDocComment"
1992
2076
  ],
1993
2077
  "funcSelfKind": "NonMutating"
1994
2078
  },
1995
2079
  {
1996
2080
  "kind": "Function",
1997
- "name": "synthesize",
1998
- "printedName": "synthesize(_:speakerId:token:terminal:)",
2081
+ "name": "enqueueMany",
2082
+ "printedName": "enqueueMany(_:)",
1999
2083
  "children": [
2000
2084
  {
2001
2085
  "kind": "TypeNominal",
2002
- "name": "Tuple",
2003
- "printedName": "(AVFAudio.AVAudioPCMBuffer, Swift.Int)",
2004
- "children": [
2005
- {
2006
- "kind": "TypeNominal",
2007
- "name": "AVAudioPCMBuffer",
2008
- "printedName": "AVFAudio.AVAudioPCMBuffer",
2009
- "usr": "c:objc(cs)AVAudioPCMBuffer"
2010
- },
2011
- {
2012
- "kind": "TypeNominal",
2013
- "name": "Int",
2014
- "printedName": "Swift.Int",
2015
- "usr": "s:Si"
2016
- }
2017
- ]
2018
- },
2019
- {
2020
- "kind": "TypeNominal",
2021
- "name": "String",
2022
- "printedName": "Swift.String",
2023
- "usr": "s:SS"
2024
- },
2025
- {
2026
- "kind": "TypeNominal",
2027
- "name": "Int32",
2028
- "printedName": "Swift.Int32",
2029
- "hasDefaultArg": true,
2030
- "usr": "s:s5Int32V"
2031
- },
2032
- {
2033
- "kind": "TypeNominal",
2034
- "name": "UUID",
2035
- "printedName": "Foundation.UUID",
2036
- "usr": "s:10Foundation4UUIDV"
2086
+ "name": "Void",
2087
+ "printedName": "()"
2037
2088
  },
2038
2089
  {
2039
2090
  "kind": "TypeNominal",
2040
- "name": "Optional",
2041
- "printedName": "Swift.Character?",
2091
+ "name": "Array",
2092
+ "printedName": "[DavoiceTTS.SwiftSoundQueue.Source]",
2042
2093
  "children": [
2043
2094
  {
2044
2095
  "kind": "TypeNominal",
2045
- "name": "Character",
2046
- "printedName": "Swift.Character",
2047
- "usr": "s:SJ"
2096
+ "name": "Source",
2097
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2098
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2048
2099
  }
2049
2100
  ],
2050
- "hasDefaultArg": true,
2051
- "usr": "s:Sq"
2101
+ "usr": "s:Sa"
2052
2102
  }
2053
2103
  ],
2054
2104
  "declKind": "Func",
2055
- "usr": "s:10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2056
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2105
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
2106
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC11enqueueManyyySayAC6SourceOGF",
2057
2107
  "moduleName": "DavoiceTTS",
2058
2108
  "declAttributes": [
2059
2109
  "Final",
2060
- "AccessControl"
2110
+ "AccessControl",
2111
+ "RawDocComment"
2061
2112
  ],
2062
- "throwing": true,
2063
2113
  "funcSelfKind": "NonMutating"
2064
2114
  },
2065
2115
  {
2066
2116
  "kind": "Function",
2067
- "name": "synthesize_top",
2068
- "printedName": "synthesize_top(_:speakerId:token:)",
2117
+ "name": "stop",
2118
+ "printedName": "stop()",
2069
2119
  "children": [
2070
2120
  {
2071
2121
  "kind": "TypeNominal",
2072
- "name": "AVAudioPCMBuffer",
2073
- "printedName": "AVFAudio.AVAudioPCMBuffer",
2074
- "usr": "c:objc(cs)AVAudioPCMBuffer"
2075
- },
2076
- {
2077
- "kind": "TypeNominal",
2078
- "name": "String",
2079
- "printedName": "Swift.String",
2080
- "usr": "s:SS"
2081
- },
2082
- {
2083
- "kind": "TypeNominal",
2084
- "name": "Int32",
2085
- "printedName": "Swift.Int32",
2086
- "hasDefaultArg": true,
2087
- "usr": "s:s5Int32V"
2088
- },
2089
- {
2090
- "kind": "TypeNominal",
2091
- "name": "UUID",
2092
- "printedName": "Foundation.UUID",
2093
- "usr": "s:10Foundation4UUIDV"
2122
+ "name": "Void",
2123
+ "printedName": "()"
2094
2124
  }
2095
2125
  ],
2096
2126
  "declKind": "Func",
2097
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)synthesize_top:speakerId:token:error:",
2098
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C14synthesize_top_9speakerId5tokenSo16AVAudioPCMBufferCSS_s5Int32V10Foundation4UUIDVtKF",
2127
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC4stopyyF",
2128
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC4stopyyF",
2099
2129
  "moduleName": "DavoiceTTS",
2100
2130
  "declAttributes": [
2101
2131
  "Final",
2102
2132
  "AccessControl",
2103
- "RawDocComment",
2104
- "ObjC"
2133
+ "RawDocComment"
2105
2134
  ],
2106
- "throwing": true,
2107
2135
  "funcSelfKind": "NonMutating"
2108
2136
  },
2109
2137
  {
2110
- "kind": "Constructor",
2111
- "name": "init",
2112
- "printedName": "init()",
2138
+ "kind": "TypeDecl",
2139
+ "name": "Source",
2140
+ "printedName": "Source",
2113
2141
  "children": [
2114
2142
  {
2115
- "kind": "TypeNominal",
2116
- "name": "DaVoiceTTS",
2117
- "printedName": "DavoiceTTS.DaVoiceTTS",
2118
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2119
- }
2120
- ],
2121
- "declKind": "Constructor",
2122
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)init",
2123
- "mangledName": "$s10DavoiceTTS07DaVoiceB0CACycfc",
2124
- "moduleName": "DavoiceTTS",
2125
- "overriding": true,
2126
- "implicit": true,
2127
- "objc_name": "init",
2128
- "declAttributes": [
2129
- "Dynamic",
2130
- "ObjC",
2131
- "Override"
2132
- ],
2133
- "init_kind": "Designated"
2134
- }
2143
+ "kind": "Var",
2144
+ "name": "fileURL",
2145
+ "printedName": "fileURL",
2146
+ "children": [
2147
+ {
2148
+ "kind": "TypeFunc",
2149
+ "name": "Function",
2150
+ "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
2151
+ "children": [
2152
+ {
2153
+ "kind": "TypeFunc",
2154
+ "name": "Function",
2155
+ "printedName": "(Foundation.URL) -> DavoiceTTS.SwiftSoundQueue.Source",
2156
+ "children": [
2157
+ {
2158
+ "kind": "TypeNominal",
2159
+ "name": "Source",
2160
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2161
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2162
+ },
2163
+ {
2164
+ "kind": "TypeNominal",
2165
+ "name": "URL",
2166
+ "printedName": "Foundation.URL",
2167
+ "usr": "s:10Foundation3URLV"
2168
+ }
2169
+ ]
2170
+ },
2171
+ {
2172
+ "kind": "TypeNominal",
2173
+ "name": "Metatype",
2174
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
2175
+ "children": [
2176
+ {
2177
+ "kind": "TypeNominal",
2178
+ "name": "Source",
2179
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2180
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2181
+ }
2182
+ ]
2183
+ }
2184
+ ]
2185
+ }
2186
+ ],
2187
+ "declKind": "EnumElement",
2188
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
2189
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO7fileURLyAE10Foundation0H0VcAEmF",
2190
+ "moduleName": "DavoiceTTS"
2191
+ },
2192
+ {
2193
+ "kind": "Var",
2194
+ "name": "named",
2195
+ "printedName": "named",
2196
+ "children": [
2197
+ {
2198
+ "kind": "TypeFunc",
2199
+ "name": "Function",
2200
+ "printedName": "(DavoiceTTS.SwiftSoundQueue.Source.Type) -> (Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
2201
+ "children": [
2202
+ {
2203
+ "kind": "TypeFunc",
2204
+ "name": "Function",
2205
+ "printedName": "(Swift.String) -> DavoiceTTS.SwiftSoundQueue.Source",
2206
+ "children": [
2207
+ {
2208
+ "kind": "TypeNominal",
2209
+ "name": "Source",
2210
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2211
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2212
+ },
2213
+ {
2214
+ "kind": "TypeNominal",
2215
+ "name": "String",
2216
+ "printedName": "Swift.String",
2217
+ "usr": "s:SS"
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "kind": "TypeNominal",
2223
+ "name": "Metatype",
2224
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source.Type",
2225
+ "children": [
2226
+ {
2227
+ "kind": "TypeNominal",
2228
+ "name": "Source",
2229
+ "printedName": "DavoiceTTS.SwiftSoundQueue.Source",
2230
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO"
2231
+ }
2232
+ ]
2233
+ }
2234
+ ]
2235
+ }
2236
+ ],
2237
+ "declKind": "EnumElement",
2238
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
2239
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO5namedyAESScAEmF",
2240
+ "moduleName": "DavoiceTTS"
2241
+ }
2242
+ ],
2243
+ "declKind": "Enum",
2244
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC6SourceO",
2245
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC6SourceO",
2246
+ "moduleName": "DavoiceTTS",
2247
+ "declAttributes": [
2248
+ "AccessControl",
2249
+ "RawDocComment"
2250
+ ],
2251
+ "conformances": [
2252
+ {
2253
+ "kind": "Conformance",
2254
+ "name": "Copyable",
2255
+ "printedName": "Copyable",
2256
+ "usr": "s:s8CopyableP",
2257
+ "mangledName": "$ss8CopyableP"
2258
+ },
2259
+ {
2260
+ "kind": "Conformance",
2261
+ "name": "Escapable",
2262
+ "printedName": "Escapable",
2263
+ "usr": "s:s9EscapableP",
2264
+ "mangledName": "$ss9EscapableP"
2265
+ }
2266
+ ]
2267
+ },
2268
+ {
2269
+ "kind": "Function",
2270
+ "name": "audioPlayerDidFinishPlaying",
2271
+ "printedName": "audioPlayerDidFinishPlaying(_:successfully:)",
2272
+ "children": [
2273
+ {
2274
+ "kind": "TypeNominal",
2275
+ "name": "Void",
2276
+ "printedName": "()"
2277
+ },
2278
+ {
2279
+ "kind": "TypeNominal",
2280
+ "name": "AVAudioPlayer",
2281
+ "printedName": "AVFAudio.AVAudioPlayer",
2282
+ "usr": "c:objc(cs)AVAudioPlayer"
2283
+ },
2284
+ {
2285
+ "kind": "TypeNominal",
2286
+ "name": "Bool",
2287
+ "printedName": "Swift.Bool",
2288
+ "usr": "s:Sb"
2289
+ }
2290
+ ],
2291
+ "declKind": "Func",
2292
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue(im)audioPlayerDidFinishPlaying:successfully:",
2293
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC27audioPlayerDidFinishPlaying_12successfullyySo07AVAudioG0C_SbtF",
2294
+ "moduleName": "DavoiceTTS",
2295
+ "objc_name": "audioPlayerDidFinishPlaying:successfully:",
2296
+ "declAttributes": [
2297
+ "Final",
2298
+ "ObjC",
2299
+ "AccessControl",
2300
+ "RawDocComment"
2301
+ ],
2302
+ "funcSelfKind": "NonMutating"
2303
+ },
2304
+ {
2305
+ "kind": "Function",
2306
+ "name": "activateSpeaker",
2307
+ "printedName": "activateSpeaker()",
2308
+ "children": [
2309
+ {
2310
+ "kind": "TypeNominal",
2311
+ "name": "Void",
2312
+ "printedName": "()"
2313
+ }
2314
+ ],
2315
+ "declKind": "Func",
2316
+ "usr": "s:10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
2317
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC15activateSpeakeryyF",
2318
+ "moduleName": "DavoiceTTS",
2319
+ "declAttributes": [
2320
+ "Final",
2321
+ "AccessControl"
2322
+ ],
2323
+ "funcSelfKind": "NonMutating"
2324
+ }
2135
2325
  ],
2136
2326
  "declKind": "Class",
2137
- "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS",
2138
- "mangledName": "$s10DavoiceTTS07DaVoiceB0C",
2327
+ "usr": "c:@M@DavoiceTTS@objc(cs)SwiftSoundQueue",
2328
+ "mangledName": "$s10DavoiceTTS15SwiftSoundQueueC",
2139
2329
  "moduleName": "DavoiceTTS",
2140
2330
  "declAttributes": [
2141
2331
  "Final",
2142
2332
  "AccessControl",
2143
- "ObjCMembers",
2333
+ "RawDocComment",
2144
2334
  "ObjC"
2145
2335
  ],
2146
2336
  "superclassUsr": "c:objc(cs)NSObject",
2337
+ "hasMissingDesignatedInitializers": true,
2338
+ "inheritsConvenienceInitializers": true,
2147
2339
  "superclassNames": [
2148
2340
  "ObjectiveC.NSObject"
2149
2341
  ],
@@ -2213,418 +2405,58 @@
2213
2405
  }
2214
2406
  ]
2215
2407
  },
2216
- {
2217
- "kind": "Import",
2218
- "name": "Foundation",
2219
- "printedName": "Foundation",
2220
- "declKind": "Import",
2221
- "moduleName": "DavoiceTTS",
2222
- "declAttributes": [
2223
- "RawDocComment"
2224
- ]
2225
- },
2226
2408
  {
2227
2409
  "kind": "TypeDecl",
2228
- "name": "AudioPlaybackHook",
2229
- "printedName": "AudioPlaybackHook",
2410
+ "name": "DaVoiceTTS",
2411
+ "printedName": "DaVoiceTTS",
2230
2412
  "children": [
2231
2413
  {
2232
- "kind": "Var",
2233
- "name": "engineScheduleFile",
2234
- "printedName": "engineScheduleFile",
2235
- "children": [
2414
+ "kind": "TypeDecl",
2415
+ "name": "Config",
2416
+ "printedName": "Config",
2417
+ "declKind": "Struct",
2418
+ "usr": "s:10DavoiceTTS07DaVoiceB0C6ConfigV",
2419
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C6ConfigV",
2420
+ "moduleName": "DavoiceTTS",
2421
+ "declAttributes": [
2422
+ "AccessControl"
2423
+ ],
2424
+ "conformances": [
2236
2425
  {
2237
- "kind": "TypeNominal",
2238
- "name": "Optional",
2239
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
2240
- "children": [
2241
- {
2242
- "kind": "TypeFunc",
2243
- "name": "Function",
2244
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
2245
- "children": [
2246
- {
2247
- "kind": "TypeNominal",
2248
- "name": "Bool",
2249
- "printedName": "Swift.Bool",
2250
- "usr": "s:Sb"
2251
- },
2252
- {
2253
- "kind": "TypeNominal",
2254
- "name": "Tuple",
2255
- "printedName": "(Foundation.URL, () -> ())",
2256
- "children": [
2257
- {
2258
- "kind": "TypeNominal",
2259
- "name": "URL",
2260
- "printedName": "Foundation.URL",
2261
- "usr": "s:10Foundation3URLV"
2262
- },
2263
- {
2264
- "kind": "TypeFunc",
2265
- "name": "Function",
2266
- "printedName": "() -> ()",
2267
- "children": [
2268
- {
2269
- "kind": "TypeNominal",
2270
- "name": "Void",
2271
- "printedName": "()"
2272
- },
2273
- {
2274
- "kind": "TypeNominal",
2275
- "name": "Void",
2276
- "printedName": "()"
2277
- }
2278
- ]
2279
- }
2280
- ]
2281
- }
2282
- ]
2283
- }
2284
- ],
2285
- "usr": "s:Sq"
2286
- }
2287
- ],
2288
- "declKind": "Var",
2289
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
2290
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvpZ",
2291
- "moduleName": "DavoiceTTS",
2292
- "static": true,
2293
- "declAttributes": [
2294
- "HasInitialValue",
2295
- "HasStorage",
2296
- "AccessControl",
2297
- "RawDocComment"
2298
- ],
2299
- "hasStorage": true,
2300
- "accessors": [
2301
- {
2302
- "kind": "Accessor",
2303
- "name": "Get",
2304
- "printedName": "Get()",
2305
- "children": [
2306
- {
2307
- "kind": "TypeNominal",
2308
- "name": "Optional",
2309
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
2310
- "children": [
2311
- {
2312
- "kind": "TypeFunc",
2313
- "name": "Function",
2314
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
2315
- "children": [
2316
- {
2317
- "kind": "TypeNominal",
2318
- "name": "Bool",
2319
- "printedName": "Swift.Bool",
2320
- "usr": "s:Sb"
2321
- },
2322
- {
2323
- "kind": "TypeNominal",
2324
- "name": "Tuple",
2325
- "printedName": "(Foundation.URL, () -> ())",
2326
- "children": [
2327
- {
2328
- "kind": "TypeNominal",
2329
- "name": "URL",
2330
- "printedName": "Foundation.URL",
2331
- "usr": "s:10Foundation3URLV"
2332
- },
2333
- {
2334
- "kind": "TypeFunc",
2335
- "name": "Function",
2336
- "printedName": "() -> ()",
2337
- "children": [
2338
- {
2339
- "kind": "TypeNominal",
2340
- "name": "Void",
2341
- "printedName": "()"
2342
- },
2343
- {
2344
- "kind": "TypeNominal",
2345
- "name": "Void",
2346
- "printedName": "()"
2347
- }
2348
- ]
2349
- }
2350
- ]
2351
- }
2352
- ]
2353
- }
2354
- ],
2355
- "usr": "s:Sq"
2356
- }
2357
- ],
2358
- "declKind": "Accessor",
2359
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
2360
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvgZ",
2361
- "moduleName": "DavoiceTTS",
2362
- "static": true,
2363
- "implicit": true,
2364
- "accessorKind": "get"
2365
- },
2366
- {
2367
- "kind": "Accessor",
2368
- "name": "Set",
2369
- "printedName": "Set()",
2370
- "children": [
2371
- {
2372
- "kind": "TypeNominal",
2373
- "name": "Void",
2374
- "printedName": "()"
2375
- },
2376
- {
2377
- "kind": "TypeNominal",
2378
- "name": "Optional",
2379
- "printedName": "((Foundation.URL, @escaping () -> ()) -> Swift.Bool)?",
2380
- "children": [
2381
- {
2382
- "kind": "TypeFunc",
2383
- "name": "Function",
2384
- "printedName": "(Foundation.URL, @escaping () -> ()) -> Swift.Bool",
2385
- "children": [
2386
- {
2387
- "kind": "TypeNominal",
2388
- "name": "Bool",
2389
- "printedName": "Swift.Bool",
2390
- "usr": "s:Sb"
2391
- },
2392
- {
2393
- "kind": "TypeNominal",
2394
- "name": "Tuple",
2395
- "printedName": "(Foundation.URL, () -> ())",
2396
- "children": [
2397
- {
2398
- "kind": "TypeNominal",
2399
- "name": "URL",
2400
- "printedName": "Foundation.URL",
2401
- "usr": "s:10Foundation3URLV"
2402
- },
2403
- {
2404
- "kind": "TypeFunc",
2405
- "name": "Function",
2406
- "printedName": "() -> ()",
2407
- "children": [
2408
- {
2409
- "kind": "TypeNominal",
2410
- "name": "Void",
2411
- "printedName": "()"
2412
- },
2413
- {
2414
- "kind": "TypeNominal",
2415
- "name": "Void",
2416
- "printedName": "()"
2417
- }
2418
- ]
2419
- }
2420
- ]
2421
- }
2422
- ]
2423
- }
2424
- ],
2425
- "usr": "s:Sq"
2426
- }
2427
- ],
2428
- "declKind": "Accessor",
2429
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
2430
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvsZ",
2431
- "moduleName": "DavoiceTTS",
2432
- "static": true,
2433
- "implicit": true,
2434
- "accessorKind": "set"
2435
- },
2436
- {
2437
- "kind": "Accessor",
2438
- "name": "Modify",
2439
- "printedName": "Modify()",
2440
- "children": [
2441
- {
2442
- "kind": "TypeNominal",
2443
- "name": "Void",
2444
- "printedName": "()"
2445
- }
2446
- ],
2447
- "declKind": "Accessor",
2448
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
2449
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO18engineScheduleFileSb10Foundation3URLV_yyctcSgvMZ",
2450
- "moduleName": "DavoiceTTS",
2451
- "static": true,
2452
- "implicit": true,
2453
- "accessorKind": "_modify"
2454
- }
2455
- ]
2456
- },
2457
- {
2458
- "kind": "Var",
2459
- "name": "isEngineReady",
2460
- "printedName": "isEngineReady",
2461
- "children": [
2462
- {
2463
- "kind": "TypeNominal",
2464
- "name": "Optional",
2465
- "printedName": "(() -> Swift.Bool)?",
2466
- "children": [
2467
- {
2468
- "kind": "TypeFunc",
2469
- "name": "Function",
2470
- "printedName": "() -> Swift.Bool",
2471
- "children": [
2472
- {
2473
- "kind": "TypeNominal",
2474
- "name": "Bool",
2475
- "printedName": "Swift.Bool",
2476
- "usr": "s:Sb"
2477
- },
2478
- {
2479
- "kind": "TypeNominal",
2480
- "name": "Void",
2481
- "printedName": "()"
2482
- }
2483
- ]
2484
- }
2485
- ],
2486
- "usr": "s:Sq"
2487
- }
2488
- ],
2489
- "declKind": "Var",
2490
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
2491
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvpZ",
2492
- "moduleName": "DavoiceTTS",
2493
- "static": true,
2494
- "declAttributes": [
2495
- "HasInitialValue",
2496
- "HasStorage",
2497
- "AccessControl",
2498
- "RawDocComment"
2499
- ],
2500
- "hasStorage": true,
2501
- "accessors": [
2502
- {
2503
- "kind": "Accessor",
2504
- "name": "Get",
2505
- "printedName": "Get()",
2506
- "children": [
2507
- {
2508
- "kind": "TypeNominal",
2509
- "name": "Optional",
2510
- "printedName": "(() -> Swift.Bool)?",
2511
- "children": [
2512
- {
2513
- "kind": "TypeFunc",
2514
- "name": "Function",
2515
- "printedName": "() -> Swift.Bool",
2516
- "children": [
2517
- {
2518
- "kind": "TypeNominal",
2519
- "name": "Bool",
2520
- "printedName": "Swift.Bool",
2521
- "usr": "s:Sb"
2522
- },
2523
- {
2524
- "kind": "TypeNominal",
2525
- "name": "Void",
2526
- "printedName": "()"
2527
- }
2528
- ]
2529
- }
2530
- ],
2531
- "usr": "s:Sq"
2532
- }
2533
- ],
2534
- "declKind": "Accessor",
2535
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
2536
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvgZ",
2537
- "moduleName": "DavoiceTTS",
2538
- "static": true,
2539
- "implicit": true,
2540
- "accessorKind": "get"
2541
- },
2542
- {
2543
- "kind": "Accessor",
2544
- "name": "Set",
2545
- "printedName": "Set()",
2546
- "children": [
2547
- {
2548
- "kind": "TypeNominal",
2549
- "name": "Void",
2550
- "printedName": "()"
2551
- },
2552
- {
2553
- "kind": "TypeNominal",
2554
- "name": "Optional",
2555
- "printedName": "(() -> Swift.Bool)?",
2556
- "children": [
2557
- {
2558
- "kind": "TypeFunc",
2559
- "name": "Function",
2560
- "printedName": "() -> Swift.Bool",
2561
- "children": [
2562
- {
2563
- "kind": "TypeNominal",
2564
- "name": "Bool",
2565
- "printedName": "Swift.Bool",
2566
- "usr": "s:Sb"
2567
- },
2568
- {
2569
- "kind": "TypeNominal",
2570
- "name": "Void",
2571
- "printedName": "()"
2572
- }
2573
- ]
2574
- }
2575
- ],
2576
- "usr": "s:Sq"
2577
- }
2578
- ],
2579
- "declKind": "Accessor",
2580
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
2581
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvsZ",
2582
- "moduleName": "DavoiceTTS",
2583
- "static": true,
2584
- "implicit": true,
2585
- "accessorKind": "set"
2426
+ "kind": "Conformance",
2427
+ "name": "Copyable",
2428
+ "printedName": "Copyable",
2429
+ "usr": "s:s8CopyableP",
2430
+ "mangledName": "$ss8CopyableP"
2586
2431
  },
2587
2432
  {
2588
- "kind": "Accessor",
2589
- "name": "Modify",
2590
- "printedName": "Modify()",
2591
- "children": [
2592
- {
2593
- "kind": "TypeNominal",
2594
- "name": "Void",
2595
- "printedName": "()"
2596
- }
2597
- ],
2598
- "declKind": "Accessor",
2599
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
2600
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO13isEngineReadySbycSgvMZ",
2601
- "moduleName": "DavoiceTTS",
2602
- "static": true,
2603
- "implicit": true,
2604
- "accessorKind": "_modify"
2433
+ "kind": "Conformance",
2434
+ "name": "Escapable",
2435
+ "printedName": "Escapable",
2436
+ "usr": "s:s9EscapableP",
2437
+ "mangledName": "$ss9EscapableP"
2605
2438
  }
2606
2439
  ]
2607
2440
  },
2608
2441
  {
2609
2442
  "kind": "Var",
2610
- "name": "useOnlyEnginePlayback",
2611
- "printedName": "useOnlyEnginePlayback",
2443
+ "name": "onLastUtteranceFinished",
2444
+ "printedName": "onLastUtteranceFinished",
2612
2445
  "children": [
2613
2446
  {
2614
2447
  "kind": "TypeNominal",
2615
2448
  "name": "Optional",
2616
- "printedName": "(() -> Swift.Bool)?",
2449
+ "printedName": "(() -> ())?",
2617
2450
  "children": [
2618
2451
  {
2619
2452
  "kind": "TypeFunc",
2620
2453
  "name": "Function",
2621
- "printedName": "() -> Swift.Bool",
2454
+ "printedName": "() -> ()",
2622
2455
  "children": [
2623
2456
  {
2624
2457
  "kind": "TypeNominal",
2625
- "name": "Bool",
2626
- "printedName": "Swift.Bool",
2627
- "usr": "s:Sb"
2458
+ "name": "Void",
2459
+ "printedName": "()"
2628
2460
  },
2629
2461
  {
2630
2462
  "kind": "TypeNominal",
@@ -2638,14 +2470,16 @@
2638
2470
  }
2639
2471
  ],
2640
2472
  "declKind": "Var",
2641
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
2642
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvpZ",
2473
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(py)onLastUtteranceFinished",
2474
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvp",
2643
2475
  "moduleName": "DavoiceTTS",
2644
- "static": true,
2645
2476
  "declAttributes": [
2646
2477
  "HasInitialValue",
2478
+ "Final",
2647
2479
  "HasStorage",
2648
- "AccessControl"
2480
+ "AccessControl",
2481
+ "ObjC",
2482
+ "RawDocComment"
2649
2483
  ],
2650
2484
  "hasStorage": true,
2651
2485
  "accessors": [
@@ -2657,18 +2491,17 @@
2657
2491
  {
2658
2492
  "kind": "TypeNominal",
2659
2493
  "name": "Optional",
2660
- "printedName": "(() -> Swift.Bool)?",
2494
+ "printedName": "(() -> ())?",
2661
2495
  "children": [
2662
2496
  {
2663
2497
  "kind": "TypeFunc",
2664
2498
  "name": "Function",
2665
- "printedName": "() -> Swift.Bool",
2499
+ "printedName": "() -> ()",
2666
2500
  "children": [
2667
2501
  {
2668
2502
  "kind": "TypeNominal",
2669
- "name": "Bool",
2670
- "printedName": "Swift.Bool",
2671
- "usr": "s:Sb"
2503
+ "name": "Void",
2504
+ "printedName": "()"
2672
2505
  },
2673
2506
  {
2674
2507
  "kind": "TypeNominal",
@@ -2682,11 +2515,14 @@
2682
2515
  }
2683
2516
  ],
2684
2517
  "declKind": "Accessor",
2685
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
2686
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvgZ",
2518
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)onLastUtteranceFinished",
2519
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvg",
2687
2520
  "moduleName": "DavoiceTTS",
2688
- "static": true,
2689
2521
  "implicit": true,
2522
+ "declAttributes": [
2523
+ "Final",
2524
+ "ObjC"
2525
+ ],
2690
2526
  "accessorKind": "get"
2691
2527
  },
2692
2528
  {
@@ -2702,18 +2538,17 @@
2702
2538
  {
2703
2539
  "kind": "TypeNominal",
2704
2540
  "name": "Optional",
2705
- "printedName": "(() -> Swift.Bool)?",
2541
+ "printedName": "(() -> ())?",
2706
2542
  "children": [
2707
2543
  {
2708
2544
  "kind": "TypeFunc",
2709
2545
  "name": "Function",
2710
- "printedName": "() -> Swift.Bool",
2546
+ "printedName": "() -> ()",
2711
2547
  "children": [
2712
2548
  {
2713
2549
  "kind": "TypeNominal",
2714
- "name": "Bool",
2715
- "printedName": "Swift.Bool",
2716
- "usr": "s:Sb"
2550
+ "name": "Void",
2551
+ "printedName": "()"
2717
2552
  },
2718
2553
  {
2719
2554
  "kind": "TypeNominal",
@@ -2727,11 +2562,14 @@
2727
2562
  }
2728
2563
  ],
2729
2564
  "declKind": "Accessor",
2730
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
2731
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvsZ",
2565
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)setOnLastUtteranceFinished:",
2566
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvs",
2732
2567
  "moduleName": "DavoiceTTS",
2733
- "static": true,
2734
2568
  "implicit": true,
2569
+ "declAttributes": [
2570
+ "Final",
2571
+ "ObjC"
2572
+ ],
2735
2573
  "accessorKind": "set"
2736
2574
  },
2737
2575
  {
@@ -2746,170 +2584,282 @@
2746
2584
  }
2747
2585
  ],
2748
2586
  "declKind": "Accessor",
2749
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
2750
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO013useOnlyEngineD0SbycSgvMZ",
2587
+ "usr": "s:10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
2588
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C23onLastUtteranceFinishedyycSgvM",
2751
2589
  "moduleName": "DavoiceTTS",
2752
- "static": true,
2753
2590
  "implicit": true,
2591
+ "declAttributes": [
2592
+ "Final"
2593
+ ],
2754
2594
  "accessorKind": "_modify"
2755
2595
  }
2756
2596
  ]
2757
2597
  },
2758
2598
  {
2759
- "kind": "Var",
2760
- "name": "stopEnginePlayback",
2761
- "printedName": "stopEnginePlayback",
2599
+ "kind": "Constructor",
2600
+ "name": "init",
2601
+ "printedName": "init(model:)",
2762
2602
  "children": [
2763
2603
  {
2764
2604
  "kind": "TypeNominal",
2765
- "name": "Optional",
2766
- "printedName": "(() -> ())?",
2767
- "children": [
2768
- {
2769
- "kind": "TypeFunc",
2770
- "name": "Function",
2771
- "printedName": "() -> ()",
2772
- "children": [
2773
- {
2774
- "kind": "TypeNominal",
2775
- "name": "Void",
2776
- "printedName": "()"
2777
- },
2778
- {
2779
- "kind": "TypeNominal",
2780
- "name": "Void",
2781
- "printedName": "()"
2782
- }
2783
- ]
2784
- }
2785
- ],
2786
- "usr": "s:Sq"
2605
+ "name": "DaVoiceTTS",
2606
+ "printedName": "DavoiceTTS.DaVoiceTTS",
2607
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2608
+ },
2609
+ {
2610
+ "kind": "TypeNominal",
2611
+ "name": "URL",
2612
+ "printedName": "Foundation.URL",
2613
+ "usr": "s:10Foundation3URLV"
2787
2614
  }
2788
2615
  ],
2789
- "declKind": "Var",
2790
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
2791
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvpZ",
2616
+ "declKind": "Constructor",
2617
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)initWithModel:error:",
2618
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C5modelAC10Foundation3URLV_tKcfc",
2792
2619
  "moduleName": "DavoiceTTS",
2793
- "static": true,
2620
+ "objc_name": "initWithModel:error:",
2794
2621
  "declAttributes": [
2795
- "HasInitialValue",
2796
- "HasStorage",
2797
- "AccessControl"
2622
+ "AccessControl",
2623
+ "ObjC"
2798
2624
  ],
2799
- "hasStorage": true,
2800
- "accessors": [
2625
+ "throwing": true,
2626
+ "init_kind": "Designated"
2627
+ },
2628
+ {
2629
+ "kind": "Function",
2630
+ "name": "stopSpeaking",
2631
+ "printedName": "stopSpeaking()",
2632
+ "children": [
2801
2633
  {
2802
- "kind": "Accessor",
2803
- "name": "Get",
2804
- "printedName": "Get()",
2805
- "children": [
2806
- {
2807
- "kind": "TypeNominal",
2808
- "name": "Optional",
2809
- "printedName": "(() -> ())?",
2810
- "children": [
2811
- {
2812
- "kind": "TypeFunc",
2813
- "name": "Function",
2814
- "printedName": "() -> ()",
2815
- "children": [
2816
- {
2817
- "kind": "TypeNominal",
2818
- "name": "Void",
2819
- "printedName": "()"
2820
- },
2821
- {
2822
- "kind": "TypeNominal",
2823
- "name": "Void",
2824
- "printedName": "()"
2825
- }
2826
- ]
2827
- }
2828
- ],
2829
- "usr": "s:Sq"
2830
- }
2831
- ],
2832
- "declKind": "Accessor",
2833
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
2834
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvgZ",
2835
- "moduleName": "DavoiceTTS",
2836
- "static": true,
2837
- "implicit": true,
2838
- "accessorKind": "get"
2634
+ "kind": "TypeNominal",
2635
+ "name": "Void",
2636
+ "printedName": "()"
2637
+ }
2638
+ ],
2639
+ "declKind": "Func",
2640
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)stopSpeaking",
2641
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C12stopSpeakingyyF",
2642
+ "moduleName": "DavoiceTTS",
2643
+ "declAttributes": [
2644
+ "Final",
2645
+ "AccessControl",
2646
+ "ObjC",
2647
+ "RawDocComment"
2648
+ ],
2649
+ "funcSelfKind": "NonMutating"
2650
+ },
2651
+ {
2652
+ "kind": "Function",
2653
+ "name": "destroy",
2654
+ "printedName": "destroy()",
2655
+ "children": [
2656
+ {
2657
+ "kind": "TypeNominal",
2658
+ "name": "Void",
2659
+ "printedName": "()"
2660
+ }
2661
+ ],
2662
+ "declKind": "Func",
2663
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)destroy",
2664
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C7destroyyyF",
2665
+ "moduleName": "DavoiceTTS",
2666
+ "declAttributes": [
2667
+ "Final",
2668
+ "AccessControl",
2669
+ "ObjC",
2670
+ "RawDocComment"
2671
+ ],
2672
+ "funcSelfKind": "NonMutating"
2673
+ },
2674
+ {
2675
+ "kind": "Function",
2676
+ "name": "speak",
2677
+ "printedName": "speak(_:sid:)",
2678
+ "children": [
2679
+ {
2680
+ "kind": "TypeNominal",
2681
+ "name": "Void",
2682
+ "printedName": "()"
2839
2683
  },
2840
2684
  {
2841
- "kind": "Accessor",
2842
- "name": "Set",
2843
- "printedName": "Set()",
2685
+ "kind": "TypeNominal",
2686
+ "name": "String",
2687
+ "printedName": "Swift.String",
2688
+ "usr": "s:SS"
2689
+ },
2690
+ {
2691
+ "kind": "TypeNominal",
2692
+ "name": "Int32",
2693
+ "printedName": "Swift.Int32",
2694
+ "hasDefaultArg": true,
2695
+ "usr": "s:s5Int32V"
2696
+ }
2697
+ ],
2698
+ "declKind": "Func",
2699
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)speak:sid:",
2700
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C5speak_3sidySS_s5Int32VtF",
2701
+ "moduleName": "DavoiceTTS",
2702
+ "declAttributes": [
2703
+ "Final",
2704
+ "AccessControl",
2705
+ "ObjC"
2706
+ ],
2707
+ "funcSelfKind": "NonMutating"
2708
+ },
2709
+ {
2710
+ "kind": "Function",
2711
+ "name": "synthesize",
2712
+ "printedName": "synthesize(_:speakerId:token:terminal:)",
2713
+ "children": [
2714
+ {
2715
+ "kind": "TypeNominal",
2716
+ "name": "Tuple",
2717
+ "printedName": "(AVFAudio.AVAudioPCMBuffer, Swift.Int)",
2844
2718
  "children": [
2845
2719
  {
2846
2720
  "kind": "TypeNominal",
2847
- "name": "Void",
2848
- "printedName": "()"
2721
+ "name": "AVAudioPCMBuffer",
2722
+ "printedName": "AVFAudio.AVAudioPCMBuffer",
2723
+ "usr": "c:objc(cs)AVAudioPCMBuffer"
2849
2724
  },
2850
2725
  {
2851
2726
  "kind": "TypeNominal",
2852
- "name": "Optional",
2853
- "printedName": "(() -> ())?",
2854
- "children": [
2855
- {
2856
- "kind": "TypeFunc",
2857
- "name": "Function",
2858
- "printedName": "() -> ()",
2859
- "children": [
2860
- {
2861
- "kind": "TypeNominal",
2862
- "name": "Void",
2863
- "printedName": "()"
2864
- },
2865
- {
2866
- "kind": "TypeNominal",
2867
- "name": "Void",
2868
- "printedName": "()"
2869
- }
2870
- ]
2871
- }
2872
- ],
2873
- "usr": "s:Sq"
2727
+ "name": "Int",
2728
+ "printedName": "Swift.Int",
2729
+ "usr": "s:Si"
2874
2730
  }
2875
- ],
2876
- "declKind": "Accessor",
2877
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
2878
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvsZ",
2879
- "moduleName": "DavoiceTTS",
2880
- "static": true,
2881
- "implicit": true,
2882
- "accessorKind": "set"
2731
+ ]
2883
2732
  },
2884
2733
  {
2885
- "kind": "Accessor",
2886
- "name": "Modify",
2887
- "printedName": "Modify()",
2734
+ "kind": "TypeNominal",
2735
+ "name": "String",
2736
+ "printedName": "Swift.String",
2737
+ "usr": "s:SS"
2738
+ },
2739
+ {
2740
+ "kind": "TypeNominal",
2741
+ "name": "Int32",
2742
+ "printedName": "Swift.Int32",
2743
+ "hasDefaultArg": true,
2744
+ "usr": "s:s5Int32V"
2745
+ },
2746
+ {
2747
+ "kind": "TypeNominal",
2748
+ "name": "UUID",
2749
+ "printedName": "Foundation.UUID",
2750
+ "usr": "s:10Foundation4UUIDV"
2751
+ },
2752
+ {
2753
+ "kind": "TypeNominal",
2754
+ "name": "Optional",
2755
+ "printedName": "Swift.Character?",
2888
2756
  "children": [
2889
2757
  {
2890
2758
  "kind": "TypeNominal",
2891
- "name": "Void",
2892
- "printedName": "()"
2759
+ "name": "Character",
2760
+ "printedName": "Swift.Character",
2761
+ "usr": "s:SJ"
2893
2762
  }
2894
2763
  ],
2895
- "declKind": "Accessor",
2896
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
2897
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO010stopEngineD0yycSgvMZ",
2898
- "moduleName": "DavoiceTTS",
2899
- "static": true,
2900
- "implicit": true,
2901
- "accessorKind": "_modify"
2764
+ "hasDefaultArg": true,
2765
+ "usr": "s:Sq"
2902
2766
  }
2903
- ]
2767
+ ],
2768
+ "declKind": "Func",
2769
+ "usr": "s:10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2770
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C10synthesize_9speakerId5token8terminalSo16AVAudioPCMBufferC_SitSS_s5Int32V10Foundation4UUIDVSJSgtKF",
2771
+ "moduleName": "DavoiceTTS",
2772
+ "declAttributes": [
2773
+ "Final",
2774
+ "AccessControl"
2775
+ ],
2776
+ "throwing": true,
2777
+ "funcSelfKind": "NonMutating"
2778
+ },
2779
+ {
2780
+ "kind": "Function",
2781
+ "name": "synthesize_top",
2782
+ "printedName": "synthesize_top(_:speakerId:token:)",
2783
+ "children": [
2784
+ {
2785
+ "kind": "TypeNominal",
2786
+ "name": "AVAudioPCMBuffer",
2787
+ "printedName": "AVFAudio.AVAudioPCMBuffer",
2788
+ "usr": "c:objc(cs)AVAudioPCMBuffer"
2789
+ },
2790
+ {
2791
+ "kind": "TypeNominal",
2792
+ "name": "String",
2793
+ "printedName": "Swift.String",
2794
+ "usr": "s:SS"
2795
+ },
2796
+ {
2797
+ "kind": "TypeNominal",
2798
+ "name": "Int32",
2799
+ "printedName": "Swift.Int32",
2800
+ "hasDefaultArg": true,
2801
+ "usr": "s:s5Int32V"
2802
+ },
2803
+ {
2804
+ "kind": "TypeNominal",
2805
+ "name": "UUID",
2806
+ "printedName": "Foundation.UUID",
2807
+ "usr": "s:10Foundation4UUIDV"
2808
+ }
2809
+ ],
2810
+ "declKind": "Func",
2811
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)synthesize_top:speakerId:token:error:",
2812
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C14synthesize_top_9speakerId5tokenSo16AVAudioPCMBufferCSS_s5Int32V10Foundation4UUIDVtKF",
2813
+ "moduleName": "DavoiceTTS",
2814
+ "declAttributes": [
2815
+ "Final",
2816
+ "AccessControl",
2817
+ "RawDocComment",
2818
+ "ObjC"
2819
+ ],
2820
+ "throwing": true,
2821
+ "funcSelfKind": "NonMutating"
2822
+ },
2823
+ {
2824
+ "kind": "Constructor",
2825
+ "name": "init",
2826
+ "printedName": "init()",
2827
+ "children": [
2828
+ {
2829
+ "kind": "TypeNominal",
2830
+ "name": "DaVoiceTTS",
2831
+ "printedName": "DavoiceTTS.DaVoiceTTS",
2832
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS"
2833
+ }
2834
+ ],
2835
+ "declKind": "Constructor",
2836
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS(im)init",
2837
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0CACycfc",
2838
+ "moduleName": "DavoiceTTS",
2839
+ "overriding": true,
2840
+ "implicit": true,
2841
+ "objc_name": "init",
2842
+ "declAttributes": [
2843
+ "Dynamic",
2844
+ "ObjC",
2845
+ "Override"
2846
+ ],
2847
+ "init_kind": "Designated"
2904
2848
  }
2905
2849
  ],
2906
- "declKind": "Enum",
2907
- "usr": "s:10DavoiceTTS17AudioPlaybackHookO",
2908
- "mangledName": "$s10DavoiceTTS17AudioPlaybackHookO",
2850
+ "declKind": "Class",
2851
+ "usr": "c:@M@DavoiceTTS@objc(cs)DaVoiceTTS",
2852
+ "mangledName": "$s10DavoiceTTS07DaVoiceB0C",
2909
2853
  "moduleName": "DavoiceTTS",
2910
2854
  "declAttributes": [
2855
+ "Final",
2911
2856
  "AccessControl",
2912
- "RawDocComment"
2857
+ "ObjCMembers",
2858
+ "ObjC"
2859
+ ],
2860
+ "superclassUsr": "c:objc(cs)NSObject",
2861
+ "superclassNames": [
2862
+ "ObjectiveC.NSObject"
2913
2863
  ],
2914
2864
  "conformances": [
2915
2865
  {
@@ -2925,6 +2875,55 @@
2925
2875
  "printedName": "Escapable",
2926
2876
  "usr": "s:s9EscapableP",
2927
2877
  "mangledName": "$ss9EscapableP"
2878
+ },
2879
+ {
2880
+ "kind": "Conformance",
2881
+ "name": "Equatable",
2882
+ "printedName": "Equatable",
2883
+ "usr": "s:SQ",
2884
+ "mangledName": "$sSQ"
2885
+ },
2886
+ {
2887
+ "kind": "Conformance",
2888
+ "name": "Hashable",
2889
+ "printedName": "Hashable",
2890
+ "usr": "s:SH",
2891
+ "mangledName": "$sSH"
2892
+ },
2893
+ {
2894
+ "kind": "Conformance",
2895
+ "name": "CVarArg",
2896
+ "printedName": "CVarArg",
2897
+ "usr": "s:s7CVarArgP",
2898
+ "mangledName": "$ss7CVarArgP"
2899
+ },
2900
+ {
2901
+ "kind": "Conformance",
2902
+ "name": "_KeyValueCodingAndObservingPublishing",
2903
+ "printedName": "_KeyValueCodingAndObservingPublishing",
2904
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
2905
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
2906
+ },
2907
+ {
2908
+ "kind": "Conformance",
2909
+ "name": "_KeyValueCodingAndObserving",
2910
+ "printedName": "_KeyValueCodingAndObserving",
2911
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
2912
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
2913
+ },
2914
+ {
2915
+ "kind": "Conformance",
2916
+ "name": "CustomStringConvertible",
2917
+ "printedName": "CustomStringConvertible",
2918
+ "usr": "s:s23CustomStringConvertibleP",
2919
+ "mangledName": "$ss23CustomStringConvertibleP"
2920
+ },
2921
+ {
2922
+ "kind": "Conformance",
2923
+ "name": "CustomDebugStringConvertible",
2924
+ "printedName": "CustomDebugStringConvertible",
2925
+ "usr": "s:s28CustomDebugStringConvertibleP",
2926
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
2928
2927
  }
2929
2928
  ]
2930
2929
  }
@@ -2963,231 +2962,238 @@
2963
2962
  {
2964
2963
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2965
2964
  "kind": "BooleanLiteral",
2966
- "offset": 1089,
2965
+ "offset": 1059,
2966
+ "length": 5,
2967
+ "value": "false"
2968
+ },
2969
+ {
2970
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2971
+ "kind": "IntegerLiteral",
2972
+ "offset": 1113,
2973
+ "length": 1,
2974
+ "value": "0"
2975
+ },
2976
+ {
2977
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2978
+ "kind": "FloatLiteral",
2979
+ "offset": 1167,
2980
+ "length": 3,
2981
+ "value": "0.5"
2982
+ },
2983
+ {
2984
+ "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2985
+ "kind": "BooleanLiteral",
2986
+ "offset": 1254,
2967
2987
  "length": 5,
2968
2988
  "value": "false"
2969
2989
  },
2970
2990
  {
2971
2991
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2972
2992
  "kind": "IntegerLiteral",
2973
- "offset": 1194,
2993
+ "offset": 1359,
2974
2994
  "length": 1,
2975
2995
  "value": "0"
2976
2996
  },
2977
2997
  {
2978
2998
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2979
2999
  "kind": "FloatLiteral",
2980
- "offset": 1280,
3000
+ "offset": 1445,
2981
3001
  "length": 3,
2982
3002
  "value": "4.0"
2983
3003
  },
2984
3004
  {
2985
3005
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2986
3006
  "kind": "IntegerLiteral",
2987
- "offset": 1416,
3007
+ "offset": 1581,
2988
3008
  "length": 1,
2989
3009
  "value": "0"
2990
3010
  },
2991
3011
  {
2992
3012
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
2993
3013
  "kind": "FloatLiteral",
2994
- "offset": 1468,
3014
+ "offset": 1633,
2995
3015
  "length": 3,
2996
3016
  "value": "1.0"
2997
3017
  },
2998
3018
  {
2999
3019
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3000
3020
  "kind": "IntegerLiteral",
3001
- "offset": 1547,
3021
+ "offset": 1712,
3002
3022
  "length": 1,
3003
3023
  "value": "0"
3004
3024
  },
3005
3025
  {
3006
3026
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3007
3027
  "kind": "IntegerLiteral",
3008
- "offset": 1622,
3028
+ "offset": 1787,
3009
3029
  "length": 1,
3010
3030
  "value": "0"
3011
3031
  },
3012
3032
  {
3013
3033
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3014
3034
  "kind": "IntegerLiteral",
3015
- "offset": 1717,
3035
+ "offset": 1882,
3016
3036
  "length": 1,
3017
3037
  "value": "0"
3018
3038
  },
3019
3039
  {
3020
3040
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3021
3041
  "kind": "IntegerLiteral",
3022
- "offset": 1797,
3042
+ "offset": 1962,
3023
3043
  "length": 1,
3024
3044
  "value": "0"
3025
3045
  },
3026
3046
  {
3027
3047
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3028
3048
  "kind": "FloatLiteral",
3029
- "offset": 1848,
3049
+ "offset": 2013,
3030
3050
  "length": 3,
3031
3051
  "value": "8.0"
3032
3052
  },
3033
3053
  {
3034
3054
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3035
3055
  "kind": "FloatLiteral",
3036
- "offset": 1949,
3056
+ "offset": 2114,
3037
3057
  "length": 3,
3038
3058
  "value": "2.0"
3039
3059
  },
3040
3060
  {
3041
3061
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3042
3062
  "kind": "IntegerLiteral",
3043
- "offset": 1999,
3063
+ "offset": 2164,
3044
3064
  "length": 1,
3045
3065
  "value": "0"
3046
3066
  },
3047
3067
  {
3048
3068
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3049
3069
  "kind": "BooleanLiteral",
3050
- "offset": 2029,
3070
+ "offset": 2194,
3051
3071
  "length": 5,
3052
3072
  "value": "false"
3053
3073
  },
3054
3074
  {
3055
3075
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3056
3076
  "kind": "IntegerLiteral",
3057
- "offset": 2075,
3077
+ "offset": 2240,
3058
3078
  "length": 1,
3059
3079
  "value": "0"
3060
3080
  },
3061
3081
  {
3062
3082
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3063
- "kind": "BooleanLiteral",
3064
- "offset": 2103,
3065
- "length": 5,
3066
- "value": "false"
3067
- },
3068
- {
3069
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3070
- "kind": "BooleanLiteral",
3071
- "offset": 2139,
3072
- "length": 5,
3073
- "value": "false"
3083
+ "kind": "StringLiteral",
3084
+ "offset": 2282,
3085
+ "length": 2,
3086
+ "value": "\"\""
3074
3087
  },
3075
3088
  {
3076
3089
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3077
3090
  "kind": "IntegerLiteral",
3078
- "offset": 2269,
3091
+ "offset": 2353,
3079
3092
  "length": 1,
3080
3093
  "value": "0"
3081
3094
  },
3082
3095
  {
3083
3096
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3084
3097
  "kind": "IntegerLiteral",
3085
- "offset": 2320,
3098
+ "offset": 2404,
3086
3099
  "length": 1,
3087
3100
  "value": "0"
3088
3101
  },
3089
3102
  {
3090
3103
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3091
3104
  "kind": "StringLiteral",
3092
- "offset": 2363,
3105
+ "offset": 2447,
3093
3106
  "length": 6,
3094
3107
  "value": "\"cold\""
3095
3108
  },
3096
3109
  {
3097
3110
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3098
3111
  "kind": "BooleanLiteral",
3099
- "offset": 2699,
3112
+ "offset": 2752,
3100
3113
  "length": 5,
3101
3114
  "value": "false"
3102
3115
  },
3103
3116
  {
3104
3117
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3105
3118
  "kind": "IntegerLiteral",
3106
- "offset": 2777,
3119
+ "offset": 2830,
3107
3120
  "length": 1,
3108
3121
  "value": "0"
3109
3122
  },
3110
3123
  {
3111
3124
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3112
3125
  "kind": "FloatLiteral",
3113
- "offset": 2871,
3126
+ "offset": 2924,
3114
3127
  "length": 3,
3115
3128
  "value": "0.3"
3116
3129
  },
3117
3130
  {
3118
3131
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3119
3132
  "kind": "IntegerLiteral",
3120
- "offset": 2952,
3133
+ "offset": 3005,
3121
3134
  "length": 1,
3122
3135
  "value": "0"
3123
3136
  },
3124
3137
  {
3125
3138
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3126
3139
  "kind": "BooleanLiteral",
3127
- "offset": 3013,
3140
+ "offset": 3066,
3128
3141
  "length": 5,
3129
3142
  "value": "false"
3130
3143
  },
3131
3144
  {
3132
3145
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3133
3146
  "kind": "Array",
3134
- "offset": 3077,
3147
+ "offset": 3130,
3135
3148
  "length": 2,
3136
3149
  "value": "[]"
3137
3150
  },
3138
3151
  {
3139
3152
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3140
3153
  "kind": "StringLiteral",
3141
- "offset": 3129,
3154
+ "offset": 3182,
3142
3155
  "length": 16,
3143
3156
  "value": "\"stt.tts.serial\""
3144
3157
  },
3145
3158
  {
3146
3159
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3147
3160
  "kind": "BooleanLiteral",
3148
- "offset": 3218,
3149
- "length": 5,
3150
- "value": "false"
3151
- },
3152
- {
3153
- "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3154
- "kind": "BooleanLiteral",
3155
- "offset": 3331,
3161
+ "offset": 3271,
3156
3162
  "length": 5,
3157
3163
  "value": "false"
3158
3164
  },
3159
3165
  {
3160
3166
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3161
3167
  "kind": "Array",
3162
- "offset": 3993,
3168
+ "offset": 3367,
3163
3169
  "length": 203,
3164
3170
  "value": "[\"onSpeechResults\", \"onSpeechStart\", \"onSpeechPartialResults\", \"onSpeechError\", \"onSpeechEnd\", \"onSpeechRecognized\", \"onSpeechVolumeChanged\"]"
3165
3171
  },
3166
3172
  {
3167
3173
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3168
3174
  "kind": "IntegerLiteral",
3169
- "offset": 4233,
3175
+ "offset": 4618,
3170
3176
  "length": 1,
3171
3177
  "value": "0"
3172
3178
  },
3173
3179
  {
3174
3180
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3175
3181
  "kind": "IntegerLiteral",
3176
- "offset": 4424,
3182
+ "offset": 4809,
3177
3183
  "length": 1,
3178
3184
  "value": "0"
3179
3185
  },
3180
3186
  {
3181
3187
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3182
3188
  "kind": "BooleanLiteral",
3183
- "offset": 12611,
3189
+ "offset": 12252,
3184
3190
  "length": 4,
3185
3191
  "value": "true"
3186
3192
  },
3187
3193
  {
3188
3194
  "filePath": "\/Volumes\/T9\/projects\/DavoiceTTSPrivate\/Sources\/DaVoiceSTT.swift",
3189
3195
  "kind": "FloatLiteral",
3190
- "offset": 36281,
3196
+ "offset": 35525,
3191
3197
  "length": 3,
3192
3198
  "value": "0.7"
3193
3199
  },