react-native-wakeword 1.0.73 → 1.0.74

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/KeyWordDetection.podspec +0 -1
  2. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/KeyWordDetection +0 -0
  3. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  4. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.abi.json +1555 -32
  5. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.private.swiftinterface +75 -1
  6. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  7. package/ios/KeyWordDetection.xcframework/ios-arm64/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios.swiftinterface +75 -1
  8. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/KeyWordDetection +0 -0
  9. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  10. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  11. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.abi.json +1777 -216
  12. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +75 -1
  13. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  14. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/arm64-apple-ios-simulator.swiftinterface +75 -1
  15. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.abi.json +1777 -216
  16. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +75 -1
  17. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  18. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/Modules/KeyWordDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +75 -1
  19. package/ios/KeyWordDetection.xcframework/ios-arm64_x86_64-simulator/KeyWordDetection.framework/_CodeSignature/CodeResources +24 -24
  20. package/ios/react-native-wakeword.podspec +0 -1
  21. package/package.json +1 -1
@@ -2468,13 +2468,6 @@
2468
2468
  "declKind": "Import",
2469
2469
  "moduleName": "KeyWordDetection"
2470
2470
  },
2471
- {
2472
- "kind": "Import",
2473
- "name": "ios_voice_processor",
2474
- "printedName": "ios_voice_processor",
2475
- "declKind": "Import",
2476
- "moduleName": "KeyWordDetection"
2477
- },
2478
2471
  {
2479
2472
  "kind": "TypeDecl",
2480
2473
  "name": "AudioProcessorFromVADOrFile",
@@ -2559,19 +2552,19 @@
2559
2552
  },
2560
2553
  {
2561
2554
  "kind": "Var",
2562
- "name": "voiceProcessor",
2563
- "printedName": "voiceProcessor",
2555
+ "name": "avAudioWrapper",
2556
+ "printedName": "avAudioWrapper",
2564
2557
  "children": [
2565
2558
  {
2566
2559
  "kind": "TypeNominal",
2567
- "name": "VoiceProcessor",
2568
- "printedName": "ios_voice_processor.VoiceProcessor",
2569
- "usr": "s:19ios_voice_processor14VoiceProcessorC"
2560
+ "name": "AVAudioWrapper",
2561
+ "printedName": "KeyWordDetection.AVAudioWrapper",
2562
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC"
2570
2563
  }
2571
2564
  ],
2572
2565
  "declKind": "Var",
2573
- "usr": "s:16KeyWordDetection27AudioProcessorFromVADOrFileC05voiceE0026_06F013A89136C43D4A3CB07C5N5F279DLL04ios_I10_processor05VoiceE0Cvp",
2574
- "mangledName": "$s16KeyWordDetection27AudioProcessorFromVADOrFileC05voiceE0026_06F013A89136C43D4A3CB07C5N5F279DLL04ios_I10_processor05VoiceE0Cvp",
2566
+ "usr": "s:16KeyWordDetection27AudioProcessorFromVADOrFileC02avD7Wrapper026_06F013A89136C43D4A3CB07C5O5F279DLLAA07AVAudioJ0Cvp",
2567
+ "mangledName": "$s16KeyWordDetection27AudioProcessorFromVADOrFileC02avD7Wrapper026_06F013A89136C43D4A3CB07C5O5F279DLLAA07AVAudioJ0Cvp",
2575
2568
  "moduleName": "KeyWordDetection",
2576
2569
  "isInternal": true,
2577
2570
  "declAttributes": [
@@ -2636,21 +2629,21 @@
2636
2629
  {
2637
2630
  "kind": "TypeNominal",
2638
2631
  "name": "Optional",
2639
- "printedName": "ios_voice_processor.VoiceProcessorFrameListener?",
2632
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener?",
2640
2633
  "children": [
2641
2634
  {
2642
2635
  "kind": "TypeNominal",
2643
- "name": "VoiceProcessorFrameListener",
2644
- "printedName": "ios_voice_processor.VoiceProcessorFrameListener",
2645
- "usr": "s:19ios_voice_processor27VoiceProcessorFrameListenerC"
2636
+ "name": "AVAudioWrapperFrameListener",
2637
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
2638
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
2646
2639
  }
2647
2640
  ],
2648
2641
  "usr": "s:Sq"
2649
2642
  }
2650
2643
  ],
2651
2644
  "declKind": "Var",
2652
- "usr": "s:16KeyWordDetection27AudioProcessorFromVADOrFileC13frameListener026_06F013A89136C43D4A3CB07C5O5F279DLL19ios_voice_processor05Voicee5FrameJ0CSgvp",
2653
- "mangledName": "$s16KeyWordDetection27AudioProcessorFromVADOrFileC13frameListener026_06F013A89136C43D4A3CB07C5O5F279DLL19ios_voice_processor05Voicee5FrameJ0CSgvp",
2645
+ "usr": "s:16KeyWordDetection27AudioProcessorFromVADOrFileC13frameListener026_06F013A89136C43D4A3CB07C5O5F279DLLAA019AVAudioWrapperFrameJ0CSgvp",
2646
+ "mangledName": "$s16KeyWordDetection27AudioProcessorFromVADOrFileC13frameListener026_06F013A89136C43D4A3CB07C5O5F279DLLAA019AVAudioWrapperFrameJ0CSgvp",
2654
2647
  "moduleName": "KeyWordDetection",
2655
2648
  "isInternal": true,
2656
2649
  "declAttributes": [
@@ -4622,102 +4615,26 @@
4622
4615
  "name": "Foundation",
4623
4616
  "printedName": "Foundation",
4624
4617
  "declKind": "Import",
4625
- "moduleName": "KeyWordDetection"
4626
- },
4627
- {
4628
- "kind": "Import",
4629
- "name": "AVFoundation",
4630
- "printedName": "AVFoundation",
4631
- "declKind": "Import",
4632
- "moduleName": "KeyWordDetection"
4633
- },
4634
- {
4635
- "kind": "Import",
4636
- "name": "os.log",
4637
- "printedName": "os.log",
4638
- "declKind": "Import",
4639
- "moduleName": "KeyWordDetection"
4640
- },
4641
- {
4642
- "kind": "Import",
4643
- "name": "onnxruntime_objc",
4644
- "printedName": "onnxruntime_objc",
4645
- "declKind": "Import",
4646
- "moduleName": "KeyWordDetection"
4618
+ "moduleName": "KeyWordDetection",
4619
+ "declAttributes": [
4620
+ "RawDocComment"
4621
+ ]
4647
4622
  },
4648
4623
  {
4649
4624
  "kind": "TypeDecl",
4650
- "name": "SlieroVadDetector",
4651
- "printedName": "SlieroVadDetector",
4625
+ "name": "AVAudioWrapperError",
4626
+ "printedName": "AVAudioWrapperError",
4652
4627
  "children": [
4653
- {
4654
- "kind": "Var",
4655
- "name": "model",
4656
- "printedName": "model",
4657
- "children": [
4658
- {
4659
- "kind": "TypeNominal",
4660
- "name": "SlieroVadOnnxModel",
4661
- "printedName": "KeyWordDetection.SlieroVadOnnxModel",
4662
- "usr": "s:16KeyWordDetection18SlieroVadOnnxModelC"
4663
- }
4664
- ],
4665
- "declKind": "Var",
4666
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC5model33_917496F4A25929B84A55BD7DDC556CBELLAA0dE9OnnxModelCvp",
4667
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5model33_917496F4A25929B84A55BD7DDC556CBELLAA0dE9OnnxModelCvp",
4668
- "moduleName": "KeyWordDetection",
4669
- "isInternal": true,
4670
- "declAttributes": [
4671
- "Final",
4672
- "HasStorage",
4673
- "AccessControl"
4674
- ],
4675
- "fixedbinaryorder": 0,
4676
- "isLet": true,
4677
- "hasStorage": true
4678
- },
4679
- {
4680
- "kind": "Var",
4681
- "name": "audioData",
4682
- "printedName": "audioData",
4683
- "children": [
4684
- {
4685
- "kind": "TypeNominal",
4686
- "name": "Array",
4687
- "printedName": "[Swift.Float]",
4688
- "children": [
4689
- {
4690
- "kind": "TypeNominal",
4691
- "name": "Float",
4692
- "printedName": "Swift.Float",
4693
- "usr": "s:Sf"
4694
- }
4695
- ],
4696
- "usr": "s:Sa"
4697
- }
4698
- ],
4699
- "declKind": "Var",
4700
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC9audioData33_917496F4A25929B84A55BD7DDC556CBELLSaySfGvp",
4701
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9audioData33_917496F4A25929B84A55BD7DDC556CBELLSaySfGvp",
4702
- "moduleName": "KeyWordDetection",
4703
- "isInternal": true,
4704
- "declAttributes": [
4705
- "HasStorage",
4706
- "AccessControl"
4707
- ],
4708
- "fixedbinaryorder": 1,
4709
- "hasStorage": true
4710
- },
4711
4628
  {
4712
4629
  "kind": "Constructor",
4713
4630
  "name": "init",
4714
- "printedName": "init(modelPath:)",
4631
+ "printedName": "init(_:)",
4715
4632
  "children": [
4716
4633
  {
4717
4634
  "kind": "TypeNominal",
4718
- "name": "SlieroVadDetector",
4719
- "printedName": "KeyWordDetection.SlieroVadDetector",
4720
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC"
4635
+ "name": "AVAudioWrapperError",
4636
+ "printedName": "KeyWordDetection.AVAudioWrapperError",
4637
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC"
4721
4638
  },
4722
4639
  {
4723
4640
  "kind": "TypeNominal",
@@ -4727,88 +4644,107 @@
4727
4644
  }
4728
4645
  ],
4729
4646
  "declKind": "Constructor",
4730
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC9modelPathACSS_tKcfc",
4731
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9modelPathACSS_tKcfc",
4647
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorCyACSScfc",
4648
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorCyACSScfc",
4732
4649
  "moduleName": "KeyWordDetection",
4733
- "throwing": true,
4650
+ "declAttributes": [
4651
+ "AccessControl"
4652
+ ],
4734
4653
  "init_kind": "Designated"
4735
4654
  },
4736
4655
  {
4737
- "kind": "Function",
4738
- "name": "reset",
4739
- "printedName": "reset()",
4656
+ "kind": "Var",
4657
+ "name": "errorDescription",
4658
+ "printedName": "errorDescription",
4740
4659
  "children": [
4741
4660
  {
4742
4661
  "kind": "TypeNominal",
4743
- "name": "Void",
4744
- "printedName": "()"
4662
+ "name": "String",
4663
+ "printedName": "Swift.String",
4664
+ "usr": "s:SS"
4745
4665
  }
4746
4666
  ],
4747
- "declKind": "Func",
4748
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC5resetyyF",
4749
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5resetyyF",
4667
+ "declKind": "Var",
4668
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC16errorDescriptionSSvp",
4669
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorC16errorDescriptionSSvp",
4750
4670
  "moduleName": "KeyWordDetection",
4751
4671
  "isOpen": true,
4752
- "funcSelfKind": "NonMutating"
4753
- },
4754
- {
4755
- "kind": "Function",
4756
- "name": "predict_2",
4757
- "printedName": "predict_2(data:)",
4758
- "children": [
4759
- {
4760
- "kind": "TypeNominal",
4761
- "name": "Float",
4762
- "printedName": "Swift.Float",
4763
- "usr": "s:Sf"
4764
- },
4672
+ "declAttributes": [
4673
+ "AccessControl"
4674
+ ],
4675
+ "accessors": [
4765
4676
  {
4766
- "kind": "TypeNominal",
4767
- "name": "Array",
4768
- "printedName": "[Swift.Int16]",
4677
+ "kind": "Accessor",
4678
+ "name": "Get",
4679
+ "printedName": "Get()",
4769
4680
  "children": [
4770
4681
  {
4771
4682
  "kind": "TypeNominal",
4772
- "name": "Int16",
4773
- "printedName": "Swift.Int16",
4774
- "usr": "s:s5Int16V"
4683
+ "name": "String",
4684
+ "printedName": "Swift.String",
4685
+ "usr": "s:SS"
4775
4686
  }
4776
4687
  ],
4777
- "usr": "s:Sa"
4688
+ "declKind": "Accessor",
4689
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC16errorDescriptionSSvg",
4690
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorC16errorDescriptionSSvg",
4691
+ "moduleName": "KeyWordDetection",
4692
+ "isOpen": true,
4693
+ "accessorKind": "get"
4778
4694
  }
4779
- ],
4780
- "declKind": "Func",
4781
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC9predict_24dataSfSays5Int16VG_tKF",
4782
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9predict_24dataSfSays5Int16VG_tKF",
4783
- "moduleName": "KeyWordDetection",
4784
- "isOpen": true,
4785
- "throwing": true,
4786
- "funcSelfKind": "NonMutating"
4695
+ ]
4787
4696
  },
4788
4697
  {
4789
- "kind": "Function",
4790
- "name": "close",
4791
- "printedName": "close()",
4698
+ "kind": "Var",
4699
+ "name": "name",
4700
+ "printedName": "name",
4792
4701
  "children": [
4793
4702
  {
4794
4703
  "kind": "TypeNominal",
4795
- "name": "Void",
4796
- "printedName": "()"
4704
+ "name": "String",
4705
+ "printedName": "Swift.String",
4706
+ "usr": "s:SS"
4797
4707
  }
4798
4708
  ],
4799
- "declKind": "Func",
4800
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC5closeyyF",
4801
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5closeyyF",
4709
+ "declKind": "Var",
4710
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC4nameSSvp",
4711
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorC4nameSSvp",
4802
4712
  "moduleName": "KeyWordDetection",
4803
4713
  "isOpen": true,
4804
- "funcSelfKind": "NonMutating"
4714
+ "declAttributes": [
4715
+ "AccessControl"
4716
+ ],
4717
+ "accessors": [
4718
+ {
4719
+ "kind": "Accessor",
4720
+ "name": "Get",
4721
+ "printedName": "Get()",
4722
+ "children": [
4723
+ {
4724
+ "kind": "TypeNominal",
4725
+ "name": "String",
4726
+ "printedName": "Swift.String",
4727
+ "usr": "s:SS"
4728
+ }
4729
+ ],
4730
+ "declKind": "Accessor",
4731
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC4nameSSvg",
4732
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorC4nameSSvg",
4733
+ "moduleName": "KeyWordDetection",
4734
+ "isOpen": true,
4735
+ "accessorKind": "get"
4736
+ }
4737
+ ]
4805
4738
  }
4806
4739
  ],
4807
4740
  "declKind": "Class",
4808
- "usr": "s:16KeyWordDetection17SlieroVadDetectorC",
4809
- "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC",
4741
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC",
4742
+ "mangledName": "$s16KeyWordDetection19AVAudioWrapperErrorC",
4810
4743
  "moduleName": "KeyWordDetection",
4811
4744
  "isOpen": true,
4745
+ "declAttributes": [
4746
+ "AccessControl"
4747
+ ],
4812
4748
  "conformances": [
4813
4749
  {
4814
4750
  "kind": "Conformance",
@@ -4823,38 +4759,45 @@
4823
4759
  "printedName": "Escapable",
4824
4760
  "usr": "s:s9EscapableP",
4825
4761
  "mangledName": "$ss9EscapableP"
4762
+ },
4763
+ {
4764
+ "kind": "Conformance",
4765
+ "name": "LocalizedError",
4766
+ "printedName": "LocalizedError",
4767
+ "usr": "s:10Foundation14LocalizedErrorP",
4768
+ "mangledName": "$s10Foundation14LocalizedErrorP"
4769
+ },
4770
+ {
4771
+ "kind": "Conformance",
4772
+ "name": "Error",
4773
+ "printedName": "Error",
4774
+ "usr": "s:s5ErrorP",
4775
+ "mangledName": "$ss5ErrorP"
4776
+ },
4777
+ {
4778
+ "kind": "Conformance",
4779
+ "name": "Sendable",
4780
+ "printedName": "Sendable",
4781
+ "usr": "s:s8SendableP",
4782
+ "mangledName": "$ss8SendableP"
4826
4783
  }
4827
4784
  ]
4828
4785
  },
4829
- {
4830
- "kind": "Import",
4831
- "name": "Foundation",
4832
- "printedName": "Foundation",
4833
- "declKind": "Import",
4834
- "moduleName": "KeyWordDetection"
4835
- },
4836
- {
4837
- "kind": "Import",
4838
- "name": "CommonCrypto",
4839
- "printedName": "CommonCrypto",
4840
- "declKind": "Import",
4841
- "moduleName": "KeyWordDetection"
4842
- },
4843
4786
  {
4844
4787
  "kind": "TypeDecl",
4845
- "name": "LicenseManager",
4846
- "printedName": "LicenseManager",
4788
+ "name": "AVAudioWrapperArgumentError",
4789
+ "printedName": "AVAudioWrapperArgumentError",
4847
4790
  "children": [
4848
4791
  {
4849
- "kind": "Function",
4850
- "name": "isLicenseValid",
4851
- "printedName": "isLicenseValid(licenseKey:)",
4792
+ "kind": "Constructor",
4793
+ "name": "init",
4794
+ "printedName": "init(_:)",
4852
4795
  "children": [
4853
4796
  {
4854
4797
  "kind": "TypeNominal",
4855
- "name": "Bool",
4856
- "printedName": "Swift.Bool",
4857
- "usr": "s:Sb"
4798
+ "name": "AVAudioWrapperArgumentError",
4799
+ "printedName": "KeyWordDetection.AVAudioWrapperArgumentError",
4800
+ "usr": "s:16KeyWordDetection27AVAudioWrapperArgumentErrorC"
4858
4801
  },
4859
4802
  {
4860
4803
  "kind": "TypeNominal",
@@ -4863,27 +4806,1596 @@
4863
4806
  "usr": "s:SS"
4864
4807
  }
4865
4808
  ],
4866
- "declKind": "Func",
4867
- "usr": "s:16KeyWordDetection14LicenseManagerC02isD5Valid07licenseA0SbSS_tFZ",
4868
- "mangledName": "$s16KeyWordDetection14LicenseManagerC02isD5Valid07licenseA0SbSS_tFZ",
4809
+ "declKind": "Constructor",
4810
+ "usr": "s:16KeyWordDetection27AVAudioWrapperArgumentErrorCyACSScfc",
4811
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperArgumentErrorCyACSScfc",
4869
4812
  "moduleName": "KeyWordDetection",
4870
- "static": true,
4813
+ "overriding": true,
4814
+ "implicit": true,
4871
4815
  "declAttributes": [
4872
- "Final"
4816
+ "Override"
4873
4817
  ],
4874
- "funcSelfKind": "NonMutating"
4875
- },
4876
- {
4877
- "kind": "Constructor",
4878
- "name": "init",
4879
- "printedName": "init()",
4880
- "children": [
4881
- {
4882
- "kind": "TypeNominal",
4883
- "name": "LicenseManager",
4884
- "printedName": "KeyWordDetection.LicenseManager",
4885
- "usr": "c:@M@KeyWordDetection@objc(cs)LicenseManager"
4886
- }
4818
+ "init_kind": "Designated"
4819
+ }
4820
+ ],
4821
+ "declKind": "Class",
4822
+ "usr": "s:16KeyWordDetection27AVAudioWrapperArgumentErrorC",
4823
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperArgumentErrorC",
4824
+ "moduleName": "KeyWordDetection",
4825
+ "isOpen": true,
4826
+ "declAttributes": [
4827
+ "AccessControl"
4828
+ ],
4829
+ "superclassUsr": "s:16KeyWordDetection19AVAudioWrapperErrorC",
4830
+ "inheritsConvenienceInitializers": true,
4831
+ "superclassNames": [
4832
+ "KeyWordDetection.AVAudioWrapperError"
4833
+ ],
4834
+ "conformances": [
4835
+ {
4836
+ "kind": "Conformance",
4837
+ "name": "Copyable",
4838
+ "printedName": "Copyable",
4839
+ "usr": "s:s8CopyableP",
4840
+ "mangledName": "$ss8CopyableP"
4841
+ },
4842
+ {
4843
+ "kind": "Conformance",
4844
+ "name": "Escapable",
4845
+ "printedName": "Escapable",
4846
+ "usr": "s:s9EscapableP",
4847
+ "mangledName": "$ss9EscapableP"
4848
+ },
4849
+ {
4850
+ "kind": "Conformance",
4851
+ "name": "LocalizedError",
4852
+ "printedName": "LocalizedError",
4853
+ "usr": "s:10Foundation14LocalizedErrorP",
4854
+ "mangledName": "$s10Foundation14LocalizedErrorP"
4855
+ },
4856
+ {
4857
+ "kind": "Conformance",
4858
+ "name": "Error",
4859
+ "printedName": "Error",
4860
+ "usr": "s:s5ErrorP",
4861
+ "mangledName": "$ss5ErrorP"
4862
+ },
4863
+ {
4864
+ "kind": "Conformance",
4865
+ "name": "Sendable",
4866
+ "printedName": "Sendable",
4867
+ "usr": "s:s8SendableP",
4868
+ "mangledName": "$ss8SendableP"
4869
+ }
4870
+ ]
4871
+ },
4872
+ {
4873
+ "kind": "TypeDecl",
4874
+ "name": "AVAudioWrapperReadError",
4875
+ "printedName": "AVAudioWrapperReadError",
4876
+ "children": [
4877
+ {
4878
+ "kind": "Constructor",
4879
+ "name": "init",
4880
+ "printedName": "init(_:)",
4881
+ "children": [
4882
+ {
4883
+ "kind": "TypeNominal",
4884
+ "name": "AVAudioWrapperReadError",
4885
+ "printedName": "KeyWordDetection.AVAudioWrapperReadError",
4886
+ "usr": "s:16KeyWordDetection23AVAudioWrapperReadErrorC"
4887
+ },
4888
+ {
4889
+ "kind": "TypeNominal",
4890
+ "name": "String",
4891
+ "printedName": "Swift.String",
4892
+ "usr": "s:SS"
4893
+ }
4894
+ ],
4895
+ "declKind": "Constructor",
4896
+ "usr": "s:16KeyWordDetection23AVAudioWrapperReadErrorCyACSScfc",
4897
+ "mangledName": "$s16KeyWordDetection23AVAudioWrapperReadErrorCyACSScfc",
4898
+ "moduleName": "KeyWordDetection",
4899
+ "overriding": true,
4900
+ "implicit": true,
4901
+ "declAttributes": [
4902
+ "Override"
4903
+ ],
4904
+ "init_kind": "Designated"
4905
+ }
4906
+ ],
4907
+ "declKind": "Class",
4908
+ "usr": "s:16KeyWordDetection23AVAudioWrapperReadErrorC",
4909
+ "mangledName": "$s16KeyWordDetection23AVAudioWrapperReadErrorC",
4910
+ "moduleName": "KeyWordDetection",
4911
+ "isOpen": true,
4912
+ "declAttributes": [
4913
+ "AccessControl"
4914
+ ],
4915
+ "superclassUsr": "s:16KeyWordDetection19AVAudioWrapperErrorC",
4916
+ "inheritsConvenienceInitializers": true,
4917
+ "superclassNames": [
4918
+ "KeyWordDetection.AVAudioWrapperError"
4919
+ ],
4920
+ "conformances": [
4921
+ {
4922
+ "kind": "Conformance",
4923
+ "name": "Copyable",
4924
+ "printedName": "Copyable",
4925
+ "usr": "s:s8CopyableP",
4926
+ "mangledName": "$ss8CopyableP"
4927
+ },
4928
+ {
4929
+ "kind": "Conformance",
4930
+ "name": "Escapable",
4931
+ "printedName": "Escapable",
4932
+ "usr": "s:s9EscapableP",
4933
+ "mangledName": "$ss9EscapableP"
4934
+ },
4935
+ {
4936
+ "kind": "Conformance",
4937
+ "name": "LocalizedError",
4938
+ "printedName": "LocalizedError",
4939
+ "usr": "s:10Foundation14LocalizedErrorP",
4940
+ "mangledName": "$s10Foundation14LocalizedErrorP"
4941
+ },
4942
+ {
4943
+ "kind": "Conformance",
4944
+ "name": "Error",
4945
+ "printedName": "Error",
4946
+ "usr": "s:s5ErrorP",
4947
+ "mangledName": "$ss5ErrorP"
4948
+ },
4949
+ {
4950
+ "kind": "Conformance",
4951
+ "name": "Sendable",
4952
+ "printedName": "Sendable",
4953
+ "usr": "s:s8SendableP",
4954
+ "mangledName": "$ss8SendableP"
4955
+ }
4956
+ ]
4957
+ },
4958
+ {
4959
+ "kind": "TypeDecl",
4960
+ "name": "AVAudioWrapperRuntimeError",
4961
+ "printedName": "AVAudioWrapperRuntimeError",
4962
+ "children": [
4963
+ {
4964
+ "kind": "Constructor",
4965
+ "name": "init",
4966
+ "printedName": "init(_:)",
4967
+ "children": [
4968
+ {
4969
+ "kind": "TypeNominal",
4970
+ "name": "AVAudioWrapperRuntimeError",
4971
+ "printedName": "KeyWordDetection.AVAudioWrapperRuntimeError",
4972
+ "usr": "s:16KeyWordDetection26AVAudioWrapperRuntimeErrorC"
4973
+ },
4974
+ {
4975
+ "kind": "TypeNominal",
4976
+ "name": "String",
4977
+ "printedName": "Swift.String",
4978
+ "usr": "s:SS"
4979
+ }
4980
+ ],
4981
+ "declKind": "Constructor",
4982
+ "usr": "s:16KeyWordDetection26AVAudioWrapperRuntimeErrorCyACSScfc",
4983
+ "mangledName": "$s16KeyWordDetection26AVAudioWrapperRuntimeErrorCyACSScfc",
4984
+ "moduleName": "KeyWordDetection",
4985
+ "overriding": true,
4986
+ "implicit": true,
4987
+ "declAttributes": [
4988
+ "Override"
4989
+ ],
4990
+ "init_kind": "Designated"
4991
+ }
4992
+ ],
4993
+ "declKind": "Class",
4994
+ "usr": "s:16KeyWordDetection26AVAudioWrapperRuntimeErrorC",
4995
+ "mangledName": "$s16KeyWordDetection26AVAudioWrapperRuntimeErrorC",
4996
+ "moduleName": "KeyWordDetection",
4997
+ "isOpen": true,
4998
+ "declAttributes": [
4999
+ "AccessControl"
5000
+ ],
5001
+ "superclassUsr": "s:16KeyWordDetection19AVAudioWrapperErrorC",
5002
+ "inheritsConvenienceInitializers": true,
5003
+ "superclassNames": [
5004
+ "KeyWordDetection.AVAudioWrapperError"
5005
+ ],
5006
+ "conformances": [
5007
+ {
5008
+ "kind": "Conformance",
5009
+ "name": "Copyable",
5010
+ "printedName": "Copyable",
5011
+ "usr": "s:s8CopyableP",
5012
+ "mangledName": "$ss8CopyableP"
5013
+ },
5014
+ {
5015
+ "kind": "Conformance",
5016
+ "name": "Escapable",
5017
+ "printedName": "Escapable",
5018
+ "usr": "s:s9EscapableP",
5019
+ "mangledName": "$ss9EscapableP"
5020
+ },
5021
+ {
5022
+ "kind": "Conformance",
5023
+ "name": "LocalizedError",
5024
+ "printedName": "LocalizedError",
5025
+ "usr": "s:10Foundation14LocalizedErrorP",
5026
+ "mangledName": "$s10Foundation14LocalizedErrorP"
5027
+ },
5028
+ {
5029
+ "kind": "Conformance",
5030
+ "name": "Error",
5031
+ "printedName": "Error",
5032
+ "usr": "s:s5ErrorP",
5033
+ "mangledName": "$ss5ErrorP"
5034
+ },
5035
+ {
5036
+ "kind": "Conformance",
5037
+ "name": "Sendable",
5038
+ "printedName": "Sendable",
5039
+ "usr": "s:s8SendableP",
5040
+ "mangledName": "$ss8SendableP"
5041
+ }
5042
+ ]
5043
+ },
5044
+ {
5045
+ "kind": "Import",
5046
+ "name": "AVFoundation",
5047
+ "printedName": "AVFoundation",
5048
+ "declKind": "Import",
5049
+ "moduleName": "KeyWordDetection"
5050
+ },
5051
+ {
5052
+ "kind": "TypeDecl",
5053
+ "name": "AVAudioWrapperFrameListener",
5054
+ "printedName": "AVAudioWrapperFrameListener",
5055
+ "children": [
5056
+ {
5057
+ "kind": "Constructor",
5058
+ "name": "init",
5059
+ "printedName": "init(_:)",
5060
+ "children": [
5061
+ {
5062
+ "kind": "TypeNominal",
5063
+ "name": "AVAudioWrapperFrameListener",
5064
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
5065
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
5066
+ },
5067
+ {
5068
+ "kind": "TypeFunc",
5069
+ "name": "Function",
5070
+ "printedName": "([Swift.Int16]) -> ()",
5071
+ "children": [
5072
+ {
5073
+ "kind": "TypeNominal",
5074
+ "name": "Void",
5075
+ "printedName": "()"
5076
+ },
5077
+ {
5078
+ "kind": "TypeNominal",
5079
+ "name": "Array",
5080
+ "printedName": "[Swift.Int16]",
5081
+ "children": [
5082
+ {
5083
+ "kind": "TypeNominal",
5084
+ "name": "Int16",
5085
+ "printedName": "Swift.Int16",
5086
+ "usr": "s:s5Int16V"
5087
+ }
5088
+ ],
5089
+ "usr": "s:Sa"
5090
+ }
5091
+ ]
5092
+ }
5093
+ ],
5094
+ "declKind": "Constructor",
5095
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerCyACySays5Int16VGccfc",
5096
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperFrameListenerCyACySays5Int16VGccfc",
5097
+ "moduleName": "KeyWordDetection",
5098
+ "declAttributes": [
5099
+ "AccessControl"
5100
+ ],
5101
+ "init_kind": "Designated"
5102
+ },
5103
+ {
5104
+ "kind": "Function",
5105
+ "name": "onFrame",
5106
+ "printedName": "onFrame(_:)",
5107
+ "children": [
5108
+ {
5109
+ "kind": "TypeNominal",
5110
+ "name": "Void",
5111
+ "printedName": "()"
5112
+ },
5113
+ {
5114
+ "kind": "TypeNominal",
5115
+ "name": "Array",
5116
+ "printedName": "[Swift.Int16]",
5117
+ "children": [
5118
+ {
5119
+ "kind": "TypeNominal",
5120
+ "name": "Int16",
5121
+ "printedName": "Swift.Int16",
5122
+ "usr": "s:s5Int16V"
5123
+ }
5124
+ ],
5125
+ "usr": "s:Sa"
5126
+ }
5127
+ ],
5128
+ "declKind": "Func",
5129
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC02onF0yySays5Int16VGF",
5130
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperFrameListenerC02onF0yySays5Int16VGF",
5131
+ "moduleName": "KeyWordDetection",
5132
+ "isOpen": true,
5133
+ "declAttributes": [
5134
+ "AccessControl"
5135
+ ],
5136
+ "funcSelfKind": "NonMutating"
5137
+ }
5138
+ ],
5139
+ "declKind": "Class",
5140
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC",
5141
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperFrameListenerC",
5142
+ "moduleName": "KeyWordDetection",
5143
+ "isOpen": true,
5144
+ "declAttributes": [
5145
+ "AccessControl"
5146
+ ],
5147
+ "conformances": [
5148
+ {
5149
+ "kind": "Conformance",
5150
+ "name": "Copyable",
5151
+ "printedName": "Copyable",
5152
+ "usr": "s:s8CopyableP",
5153
+ "mangledName": "$ss8CopyableP"
5154
+ },
5155
+ {
5156
+ "kind": "Conformance",
5157
+ "name": "Escapable",
5158
+ "printedName": "Escapable",
5159
+ "usr": "s:s9EscapableP",
5160
+ "mangledName": "$ss9EscapableP"
5161
+ }
5162
+ ]
5163
+ },
5164
+ {
5165
+ "kind": "TypeDecl",
5166
+ "name": "AVAudioWrapperErrorListener",
5167
+ "printedName": "AVAudioWrapperErrorListener",
5168
+ "children": [
5169
+ {
5170
+ "kind": "Constructor",
5171
+ "name": "init",
5172
+ "printedName": "init(_:)",
5173
+ "children": [
5174
+ {
5175
+ "kind": "TypeNominal",
5176
+ "name": "AVAudioWrapperErrorListener",
5177
+ "printedName": "KeyWordDetection.AVAudioWrapperErrorListener",
5178
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerC"
5179
+ },
5180
+ {
5181
+ "kind": "TypeFunc",
5182
+ "name": "Function",
5183
+ "printedName": "(KeyWordDetection.AVAudioWrapperError) -> ()",
5184
+ "children": [
5185
+ {
5186
+ "kind": "TypeNominal",
5187
+ "name": "Void",
5188
+ "printedName": "()"
5189
+ },
5190
+ {
5191
+ "kind": "TypeNominal",
5192
+ "name": "AVAudioWrapperError",
5193
+ "printedName": "KeyWordDetection.AVAudioWrapperError",
5194
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC"
5195
+ }
5196
+ ]
5197
+ }
5198
+ ],
5199
+ "declKind": "Constructor",
5200
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerCyACyAA0deF0Cccfc",
5201
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperErrorListenerCyACyAA0deF0Cccfc",
5202
+ "moduleName": "KeyWordDetection",
5203
+ "declAttributes": [
5204
+ "AccessControl"
5205
+ ],
5206
+ "init_kind": "Designated"
5207
+ },
5208
+ {
5209
+ "kind": "Function",
5210
+ "name": "onError",
5211
+ "printedName": "onError(_:)",
5212
+ "children": [
5213
+ {
5214
+ "kind": "TypeNominal",
5215
+ "name": "Void",
5216
+ "printedName": "()"
5217
+ },
5218
+ {
5219
+ "kind": "TypeNominal",
5220
+ "name": "AVAudioWrapperError",
5221
+ "printedName": "KeyWordDetection.AVAudioWrapperError",
5222
+ "usr": "s:16KeyWordDetection19AVAudioWrapperErrorC"
5223
+ }
5224
+ ],
5225
+ "declKind": "Func",
5226
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerC02onF0yyAA0deF0CF",
5227
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperErrorListenerC02onF0yyAA0deF0CF",
5228
+ "moduleName": "KeyWordDetection",
5229
+ "isOpen": true,
5230
+ "declAttributes": [
5231
+ "AccessControl"
5232
+ ],
5233
+ "funcSelfKind": "NonMutating"
5234
+ }
5235
+ ],
5236
+ "declKind": "Class",
5237
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerC",
5238
+ "mangledName": "$s16KeyWordDetection27AVAudioWrapperErrorListenerC",
5239
+ "moduleName": "KeyWordDetection",
5240
+ "isOpen": true,
5241
+ "declAttributes": [
5242
+ "AccessControl"
5243
+ ],
5244
+ "conformances": [
5245
+ {
5246
+ "kind": "Conformance",
5247
+ "name": "Copyable",
5248
+ "printedName": "Copyable",
5249
+ "usr": "s:s8CopyableP",
5250
+ "mangledName": "$ss8CopyableP"
5251
+ },
5252
+ {
5253
+ "kind": "Conformance",
5254
+ "name": "Escapable",
5255
+ "printedName": "Escapable",
5256
+ "usr": "s:s9EscapableP",
5257
+ "mangledName": "$ss9EscapableP"
5258
+ }
5259
+ ]
5260
+ },
5261
+ {
5262
+ "kind": "TypeDecl",
5263
+ "name": "AVAudioWrapper",
5264
+ "printedName": "AVAudioWrapper",
5265
+ "children": [
5266
+ {
5267
+ "kind": "Var",
5268
+ "name": "instance",
5269
+ "printedName": "instance",
5270
+ "children": [
5271
+ {
5272
+ "kind": "TypeNominal",
5273
+ "name": "AVAudioWrapper",
5274
+ "printedName": "KeyWordDetection.AVAudioWrapper",
5275
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC"
5276
+ }
5277
+ ],
5278
+ "declKind": "Var",
5279
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC8instanceACvpZ",
5280
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC8instanceACvpZ",
5281
+ "moduleName": "KeyWordDetection",
5282
+ "static": true,
5283
+ "declAttributes": [
5284
+ "HasInitialValue",
5285
+ "Final",
5286
+ "HasStorage",
5287
+ "AccessControl"
5288
+ ],
5289
+ "isLet": true,
5290
+ "hasStorage": true,
5291
+ "accessors": [
5292
+ {
5293
+ "kind": "Accessor",
5294
+ "name": "Get",
5295
+ "printedName": "Get()",
5296
+ "children": [
5297
+ {
5298
+ "kind": "TypeNominal",
5299
+ "name": "AVAudioWrapper",
5300
+ "printedName": "KeyWordDetection.AVAudioWrapper",
5301
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC"
5302
+ }
5303
+ ],
5304
+ "declKind": "Accessor",
5305
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC8instanceACvgZ",
5306
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC8instanceACvgZ",
5307
+ "moduleName": "KeyWordDetection",
5308
+ "static": true,
5309
+ "implicit": true,
5310
+ "declAttributes": [
5311
+ "Final"
5312
+ ],
5313
+ "accessorKind": "get"
5314
+ }
5315
+ ]
5316
+ },
5317
+ {
5318
+ "kind": "Var",
5319
+ "name": "isRecording",
5320
+ "printedName": "isRecording",
5321
+ "children": [
5322
+ {
5323
+ "kind": "TypeNominal",
5324
+ "name": "Bool",
5325
+ "printedName": "Swift.Bool",
5326
+ "usr": "s:Sb"
5327
+ }
5328
+ ],
5329
+ "declKind": "Var",
5330
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC11isRecordingSbvp",
5331
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC11isRecordingSbvp",
5332
+ "moduleName": "KeyWordDetection",
5333
+ "isOpen": true,
5334
+ "declAttributes": [
5335
+ "AccessControl"
5336
+ ],
5337
+ "accessors": [
5338
+ {
5339
+ "kind": "Accessor",
5340
+ "name": "Get",
5341
+ "printedName": "Get()",
5342
+ "children": [
5343
+ {
5344
+ "kind": "TypeNominal",
5345
+ "name": "Bool",
5346
+ "printedName": "Swift.Bool",
5347
+ "usr": "s:Sb"
5348
+ }
5349
+ ],
5350
+ "declKind": "Accessor",
5351
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC11isRecordingSbvg",
5352
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC11isRecordingSbvg",
5353
+ "moduleName": "KeyWordDetection",
5354
+ "isOpen": true,
5355
+ "accessorKind": "get"
5356
+ }
5357
+ ]
5358
+ },
5359
+ {
5360
+ "kind": "Var",
5361
+ "name": "frameLength",
5362
+ "printedName": "frameLength",
5363
+ "children": [
5364
+ {
5365
+ "kind": "TypeNominal",
5366
+ "name": "Optional",
5367
+ "printedName": "Swift.UInt32?",
5368
+ "children": [
5369
+ {
5370
+ "kind": "TypeNominal",
5371
+ "name": "UInt32",
5372
+ "printedName": "Swift.UInt32",
5373
+ "usr": "s:s6UInt32V"
5374
+ }
5375
+ ],
5376
+ "usr": "s:Sq"
5377
+ }
5378
+ ],
5379
+ "declKind": "Var",
5380
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC11frameLengths6UInt32VSgvp",
5381
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC11frameLengths6UInt32VSgvp",
5382
+ "moduleName": "KeyWordDetection",
5383
+ "isOpen": true,
5384
+ "declAttributes": [
5385
+ "AccessControl"
5386
+ ],
5387
+ "accessors": [
5388
+ {
5389
+ "kind": "Accessor",
5390
+ "name": "Get",
5391
+ "printedName": "Get()",
5392
+ "children": [
5393
+ {
5394
+ "kind": "TypeNominal",
5395
+ "name": "Optional",
5396
+ "printedName": "Swift.UInt32?",
5397
+ "children": [
5398
+ {
5399
+ "kind": "TypeNominal",
5400
+ "name": "UInt32",
5401
+ "printedName": "Swift.UInt32",
5402
+ "usr": "s:s6UInt32V"
5403
+ }
5404
+ ],
5405
+ "usr": "s:Sq"
5406
+ }
5407
+ ],
5408
+ "declKind": "Accessor",
5409
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC11frameLengths6UInt32VSgvg",
5410
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC11frameLengths6UInt32VSgvg",
5411
+ "moduleName": "KeyWordDetection",
5412
+ "isOpen": true,
5413
+ "accessorKind": "get"
5414
+ }
5415
+ ]
5416
+ },
5417
+ {
5418
+ "kind": "Var",
5419
+ "name": "sampleRate",
5420
+ "printedName": "sampleRate",
5421
+ "children": [
5422
+ {
5423
+ "kind": "TypeNominal",
5424
+ "name": "Optional",
5425
+ "printedName": "Swift.UInt32?",
5426
+ "children": [
5427
+ {
5428
+ "kind": "TypeNominal",
5429
+ "name": "UInt32",
5430
+ "printedName": "Swift.UInt32",
5431
+ "usr": "s:s6UInt32V"
5432
+ }
5433
+ ],
5434
+ "usr": "s:Sq"
5435
+ }
5436
+ ],
5437
+ "declKind": "Var",
5438
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC10sampleRates6UInt32VSgvp",
5439
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC10sampleRates6UInt32VSgvp",
5440
+ "moduleName": "KeyWordDetection",
5441
+ "isOpen": true,
5442
+ "declAttributes": [
5443
+ "AccessControl"
5444
+ ],
5445
+ "accessors": [
5446
+ {
5447
+ "kind": "Accessor",
5448
+ "name": "Get",
5449
+ "printedName": "Get()",
5450
+ "children": [
5451
+ {
5452
+ "kind": "TypeNominal",
5453
+ "name": "Optional",
5454
+ "printedName": "Swift.UInt32?",
5455
+ "children": [
5456
+ {
5457
+ "kind": "TypeNominal",
5458
+ "name": "UInt32",
5459
+ "printedName": "Swift.UInt32",
5460
+ "usr": "s:s6UInt32V"
5461
+ }
5462
+ ],
5463
+ "usr": "s:Sq"
5464
+ }
5465
+ ],
5466
+ "declKind": "Accessor",
5467
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC10sampleRates6UInt32VSgvg",
5468
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC10sampleRates6UInt32VSgvg",
5469
+ "moduleName": "KeyWordDetection",
5470
+ "isOpen": true,
5471
+ "accessorKind": "get"
5472
+ }
5473
+ ]
5474
+ },
5475
+ {
5476
+ "kind": "Var",
5477
+ "name": "numFrameListeners",
5478
+ "printedName": "numFrameListeners",
5479
+ "children": [
5480
+ {
5481
+ "kind": "TypeNominal",
5482
+ "name": "Int",
5483
+ "printedName": "Swift.Int",
5484
+ "usr": "s:Si"
5485
+ }
5486
+ ],
5487
+ "declKind": "Var",
5488
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17numFrameListenersSivp",
5489
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17numFrameListenersSivp",
5490
+ "moduleName": "KeyWordDetection",
5491
+ "isOpen": true,
5492
+ "declAttributes": [
5493
+ "AccessControl"
5494
+ ],
5495
+ "accessors": [
5496
+ {
5497
+ "kind": "Accessor",
5498
+ "name": "Get",
5499
+ "printedName": "Get()",
5500
+ "children": [
5501
+ {
5502
+ "kind": "TypeNominal",
5503
+ "name": "Int",
5504
+ "printedName": "Swift.Int",
5505
+ "usr": "s:Si"
5506
+ }
5507
+ ],
5508
+ "declKind": "Accessor",
5509
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17numFrameListenersSivg",
5510
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17numFrameListenersSivg",
5511
+ "moduleName": "KeyWordDetection",
5512
+ "isOpen": true,
5513
+ "accessorKind": "get"
5514
+ }
5515
+ ]
5516
+ },
5517
+ {
5518
+ "kind": "Function",
5519
+ "name": "setSessionOptions",
5520
+ "printedName": "setSessionOptions(sessionOptions:)",
5521
+ "children": [
5522
+ {
5523
+ "kind": "TypeNominal",
5524
+ "name": "Void",
5525
+ "printedName": "()"
5526
+ },
5527
+ {
5528
+ "kind": "TypeNominal",
5529
+ "name": "CategoryOptions",
5530
+ "printedName": "AVFAudio.AVAudioSession.CategoryOptions",
5531
+ "usr": "c:@E@AVAudioSessionCategoryOptions"
5532
+ }
5533
+ ],
5534
+ "declKind": "Func",
5535
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17setSessionOptions07sessionH0ySo0dg8CategoryH0V_tF",
5536
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17setSessionOptions07sessionH0ySo0dg8CategoryH0V_tF",
5537
+ "moduleName": "KeyWordDetection",
5538
+ "isOpen": true,
5539
+ "declAttributes": [
5540
+ "AccessControl"
5541
+ ],
5542
+ "funcSelfKind": "NonMutating"
5543
+ },
5544
+ {
5545
+ "kind": "Var",
5546
+ "name": "numErrorListeners",
5547
+ "printedName": "numErrorListeners",
5548
+ "children": [
5549
+ {
5550
+ "kind": "TypeNominal",
5551
+ "name": "Int",
5552
+ "printedName": "Swift.Int",
5553
+ "usr": "s:Si"
5554
+ }
5555
+ ],
5556
+ "declKind": "Var",
5557
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17numErrorListenersSivp",
5558
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17numErrorListenersSivp",
5559
+ "moduleName": "KeyWordDetection",
5560
+ "isOpen": true,
5561
+ "declAttributes": [
5562
+ "AccessControl"
5563
+ ],
5564
+ "accessors": [
5565
+ {
5566
+ "kind": "Accessor",
5567
+ "name": "Get",
5568
+ "printedName": "Get()",
5569
+ "children": [
5570
+ {
5571
+ "kind": "TypeNominal",
5572
+ "name": "Int",
5573
+ "printedName": "Swift.Int",
5574
+ "usr": "s:Si"
5575
+ }
5576
+ ],
5577
+ "declKind": "Accessor",
5578
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17numErrorListenersSivg",
5579
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17numErrorListenersSivg",
5580
+ "moduleName": "KeyWordDetection",
5581
+ "isOpen": true,
5582
+ "accessorKind": "get"
5583
+ }
5584
+ ]
5585
+ },
5586
+ {
5587
+ "kind": "Var",
5588
+ "name": "hasRecordAudioPermission",
5589
+ "printedName": "hasRecordAudioPermission",
5590
+ "children": [
5591
+ {
5592
+ "kind": "TypeNominal",
5593
+ "name": "Bool",
5594
+ "printedName": "Swift.Bool",
5595
+ "usr": "s:Sb"
5596
+ }
5597
+ ],
5598
+ "declKind": "Var",
5599
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC24hasRecordAudioPermissionSbvpZ",
5600
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC24hasRecordAudioPermissionSbvpZ",
5601
+ "moduleName": "KeyWordDetection",
5602
+ "static": true,
5603
+ "declAttributes": [
5604
+ "Final",
5605
+ "AccessControl"
5606
+ ],
5607
+ "accessors": [
5608
+ {
5609
+ "kind": "Accessor",
5610
+ "name": "Get",
5611
+ "printedName": "Get()",
5612
+ "children": [
5613
+ {
5614
+ "kind": "TypeNominal",
5615
+ "name": "Bool",
5616
+ "printedName": "Swift.Bool",
5617
+ "usr": "s:Sb"
5618
+ }
5619
+ ],
5620
+ "declKind": "Accessor",
5621
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC24hasRecordAudioPermissionSbvgZ",
5622
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC24hasRecordAudioPermissionSbvgZ",
5623
+ "moduleName": "KeyWordDetection",
5624
+ "static": true,
5625
+ "declAttributes": [
5626
+ "Final"
5627
+ ],
5628
+ "accessorKind": "get"
5629
+ }
5630
+ ]
5631
+ },
5632
+ {
5633
+ "kind": "Function",
5634
+ "name": "requestRecordAudioPermission",
5635
+ "printedName": "requestRecordAudioPermission(_:)",
5636
+ "children": [
5637
+ {
5638
+ "kind": "TypeNominal",
5639
+ "name": "Void",
5640
+ "printedName": "()"
5641
+ },
5642
+ {
5643
+ "kind": "TypeFunc",
5644
+ "name": "Function",
5645
+ "printedName": "(Swift.Bool) -> ()",
5646
+ "children": [
5647
+ {
5648
+ "kind": "TypeNominal",
5649
+ "name": "Void",
5650
+ "printedName": "()"
5651
+ },
5652
+ {
5653
+ "kind": "TypeNominal",
5654
+ "name": "Bool",
5655
+ "printedName": "Swift.Bool",
5656
+ "usr": "s:Sb"
5657
+ }
5658
+ ]
5659
+ }
5660
+ ],
5661
+ "declKind": "Func",
5662
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC28requestRecordAudioPermissionyyySbcFZ",
5663
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC28requestRecordAudioPermissionyyySbcFZ",
5664
+ "moduleName": "KeyWordDetection",
5665
+ "static": true,
5666
+ "declAttributes": [
5667
+ "Final",
5668
+ "AccessControl"
5669
+ ],
5670
+ "funcSelfKind": "NonMutating"
5671
+ },
5672
+ {
5673
+ "kind": "Function",
5674
+ "name": "addFrameListener",
5675
+ "printedName": "addFrameListener(_:)",
5676
+ "children": [
5677
+ {
5678
+ "kind": "TypeNominal",
5679
+ "name": "Void",
5680
+ "printedName": "()"
5681
+ },
5682
+ {
5683
+ "kind": "TypeNominal",
5684
+ "name": "AVAudioWrapperFrameListener",
5685
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
5686
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
5687
+ }
5688
+ ],
5689
+ "declKind": "Func",
5690
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC16addFrameListeneryyAA0degH0CF",
5691
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC16addFrameListeneryyAA0degH0CF",
5692
+ "moduleName": "KeyWordDetection",
5693
+ "isOpen": true,
5694
+ "declAttributes": [
5695
+ "AccessControl"
5696
+ ],
5697
+ "funcSelfKind": "NonMutating"
5698
+ },
5699
+ {
5700
+ "kind": "Function",
5701
+ "name": "addFrameListeners",
5702
+ "printedName": "addFrameListeners(_:)",
5703
+ "children": [
5704
+ {
5705
+ "kind": "TypeNominal",
5706
+ "name": "Void",
5707
+ "printedName": "()"
5708
+ },
5709
+ {
5710
+ "kind": "TypeNominal",
5711
+ "name": "Array",
5712
+ "printedName": "[KeyWordDetection.AVAudioWrapperFrameListener]",
5713
+ "children": [
5714
+ {
5715
+ "kind": "TypeNominal",
5716
+ "name": "AVAudioWrapperFrameListener",
5717
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
5718
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
5719
+ }
5720
+ ],
5721
+ "usr": "s:Sa"
5722
+ }
5723
+ ],
5724
+ "declKind": "Func",
5725
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC17addFrameListenersyySayAA0deG8ListenerCGF",
5726
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC17addFrameListenersyySayAA0deG8ListenerCGF",
5727
+ "moduleName": "KeyWordDetection",
5728
+ "isOpen": true,
5729
+ "declAttributes": [
5730
+ "AccessControl"
5731
+ ],
5732
+ "funcSelfKind": "NonMutating"
5733
+ },
5734
+ {
5735
+ "kind": "Function",
5736
+ "name": "removeFrameListener",
5737
+ "printedName": "removeFrameListener(_:)",
5738
+ "children": [
5739
+ {
5740
+ "kind": "TypeNominal",
5741
+ "name": "Void",
5742
+ "printedName": "()"
5743
+ },
5744
+ {
5745
+ "kind": "TypeNominal",
5746
+ "name": "AVAudioWrapperFrameListener",
5747
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
5748
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
5749
+ }
5750
+ ],
5751
+ "declKind": "Func",
5752
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC19removeFrameListeneryyAA0degH0CF",
5753
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC19removeFrameListeneryyAA0degH0CF",
5754
+ "moduleName": "KeyWordDetection",
5755
+ "isOpen": true,
5756
+ "declAttributes": [
5757
+ "AccessControl"
5758
+ ],
5759
+ "funcSelfKind": "NonMutating"
5760
+ },
5761
+ {
5762
+ "kind": "Function",
5763
+ "name": "removeFrameListeners",
5764
+ "printedName": "removeFrameListeners(_:)",
5765
+ "children": [
5766
+ {
5767
+ "kind": "TypeNominal",
5768
+ "name": "Void",
5769
+ "printedName": "()"
5770
+ },
5771
+ {
5772
+ "kind": "TypeNominal",
5773
+ "name": "Array",
5774
+ "printedName": "[KeyWordDetection.AVAudioWrapperFrameListener]",
5775
+ "children": [
5776
+ {
5777
+ "kind": "TypeNominal",
5778
+ "name": "AVAudioWrapperFrameListener",
5779
+ "printedName": "KeyWordDetection.AVAudioWrapperFrameListener",
5780
+ "usr": "s:16KeyWordDetection27AVAudioWrapperFrameListenerC"
5781
+ }
5782
+ ],
5783
+ "usr": "s:Sa"
5784
+ }
5785
+ ],
5786
+ "declKind": "Func",
5787
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC20removeFrameListenersyySayAA0deG8ListenerCGF",
5788
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC20removeFrameListenersyySayAA0deG8ListenerCGF",
5789
+ "moduleName": "KeyWordDetection",
5790
+ "isOpen": true,
5791
+ "declAttributes": [
5792
+ "AccessControl"
5793
+ ],
5794
+ "funcSelfKind": "NonMutating"
5795
+ },
5796
+ {
5797
+ "kind": "Function",
5798
+ "name": "clearFrameListeners",
5799
+ "printedName": "clearFrameListeners()",
5800
+ "children": [
5801
+ {
5802
+ "kind": "TypeNominal",
5803
+ "name": "Void",
5804
+ "printedName": "()"
5805
+ }
5806
+ ],
5807
+ "declKind": "Func",
5808
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC19clearFrameListenersyyF",
5809
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC19clearFrameListenersyyF",
5810
+ "moduleName": "KeyWordDetection",
5811
+ "isOpen": true,
5812
+ "declAttributes": [
5813
+ "AccessControl"
5814
+ ],
5815
+ "funcSelfKind": "NonMutating"
5816
+ },
5817
+ {
5818
+ "kind": "Function",
5819
+ "name": "addErrorListener",
5820
+ "printedName": "addErrorListener(_:)",
5821
+ "children": [
5822
+ {
5823
+ "kind": "TypeNominal",
5824
+ "name": "Void",
5825
+ "printedName": "()"
5826
+ },
5827
+ {
5828
+ "kind": "TypeNominal",
5829
+ "name": "AVAudioWrapperErrorListener",
5830
+ "printedName": "KeyWordDetection.AVAudioWrapperErrorListener",
5831
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerC"
5832
+ }
5833
+ ],
5834
+ "declKind": "Func",
5835
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC16addErrorListeneryyAA0degH0CF",
5836
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC16addErrorListeneryyAA0degH0CF",
5837
+ "moduleName": "KeyWordDetection",
5838
+ "isOpen": true,
5839
+ "declAttributes": [
5840
+ "AccessControl"
5841
+ ],
5842
+ "funcSelfKind": "NonMutating"
5843
+ },
5844
+ {
5845
+ "kind": "Function",
5846
+ "name": "removeErrorListener",
5847
+ "printedName": "removeErrorListener(_:)",
5848
+ "children": [
5849
+ {
5850
+ "kind": "TypeNominal",
5851
+ "name": "Void",
5852
+ "printedName": "()"
5853
+ },
5854
+ {
5855
+ "kind": "TypeNominal",
5856
+ "name": "AVAudioWrapperErrorListener",
5857
+ "printedName": "KeyWordDetection.AVAudioWrapperErrorListener",
5858
+ "usr": "s:16KeyWordDetection27AVAudioWrapperErrorListenerC"
5859
+ }
5860
+ ],
5861
+ "declKind": "Func",
5862
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC19removeErrorListeneryyAA0degH0CF",
5863
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC19removeErrorListeneryyAA0degH0CF",
5864
+ "moduleName": "KeyWordDetection",
5865
+ "isOpen": true,
5866
+ "declAttributes": [
5867
+ "AccessControl"
5868
+ ],
5869
+ "funcSelfKind": "NonMutating"
5870
+ },
5871
+ {
5872
+ "kind": "Function",
5873
+ "name": "clearErrorListeners",
5874
+ "printedName": "clearErrorListeners()",
5875
+ "children": [
5876
+ {
5877
+ "kind": "TypeNominal",
5878
+ "name": "Void",
5879
+ "printedName": "()"
5880
+ }
5881
+ ],
5882
+ "declKind": "Func",
5883
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC19clearErrorListenersyyF",
5884
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC19clearErrorListenersyyF",
5885
+ "moduleName": "KeyWordDetection",
5886
+ "isOpen": true,
5887
+ "declAttributes": [
5888
+ "AccessControl"
5889
+ ],
5890
+ "funcSelfKind": "NonMutating"
5891
+ },
5892
+ {
5893
+ "kind": "Function",
5894
+ "name": "start",
5895
+ "printedName": "start(frameLength:sampleRate:)",
5896
+ "children": [
5897
+ {
5898
+ "kind": "TypeNominal",
5899
+ "name": "Void",
5900
+ "printedName": "()"
5901
+ },
5902
+ {
5903
+ "kind": "TypeNominal",
5904
+ "name": "UInt32",
5905
+ "printedName": "Swift.UInt32",
5906
+ "usr": "s:s6UInt32V"
5907
+ },
5908
+ {
5909
+ "kind": "TypeNominal",
5910
+ "name": "UInt32",
5911
+ "printedName": "Swift.UInt32",
5912
+ "usr": "s:s6UInt32V"
5913
+ }
5914
+ ],
5915
+ "declKind": "Func",
5916
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC5start11frameLength10sampleRateys6UInt32V_AHtKF",
5917
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC5start11frameLength10sampleRateys6UInt32V_AHtKF",
5918
+ "moduleName": "KeyWordDetection",
5919
+ "isOpen": true,
5920
+ "declAttributes": [
5921
+ "AccessControl"
5922
+ ],
5923
+ "throwing": true,
5924
+ "funcSelfKind": "NonMutating"
5925
+ },
5926
+ {
5927
+ "kind": "Function",
5928
+ "name": "stop",
5929
+ "printedName": "stop()",
5930
+ "children": [
5931
+ {
5932
+ "kind": "TypeNominal",
5933
+ "name": "Void",
5934
+ "printedName": "()"
5935
+ }
5936
+ ],
5937
+ "declKind": "Func",
5938
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC4stopyyKF",
5939
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC4stopyyKF",
5940
+ "moduleName": "KeyWordDetection",
5941
+ "isOpen": true,
5942
+ "declAttributes": [
5943
+ "AccessControl"
5944
+ ],
5945
+ "throwing": true,
5946
+ "funcSelfKind": "NonMutating"
5947
+ }
5948
+ ],
5949
+ "declKind": "Class",
5950
+ "usr": "s:16KeyWordDetection14AVAudioWrapperC",
5951
+ "mangledName": "$s16KeyWordDetection14AVAudioWrapperC",
5952
+ "moduleName": "KeyWordDetection",
5953
+ "isOpen": true,
5954
+ "declAttributes": [
5955
+ "AccessControl"
5956
+ ],
5957
+ "hasMissingDesignatedInitializers": true,
5958
+ "conformances": [
5959
+ {
5960
+ "kind": "Conformance",
5961
+ "name": "Copyable",
5962
+ "printedName": "Copyable",
5963
+ "usr": "s:s8CopyableP",
5964
+ "mangledName": "$ss8CopyableP"
5965
+ },
5966
+ {
5967
+ "kind": "Conformance",
5968
+ "name": "Escapable",
5969
+ "printedName": "Escapable",
5970
+ "usr": "s:s9EscapableP",
5971
+ "mangledName": "$ss9EscapableP"
5972
+ }
5973
+ ]
5974
+ },
5975
+ {
5976
+ "kind": "TypeDecl",
5977
+ "name": "AVAudioWrapperBuffer",
5978
+ "printedName": "AVAudioWrapperBuffer",
5979
+ "children": [
5980
+ {
5981
+ "kind": "Constructor",
5982
+ "name": "init",
5983
+ "printedName": "init(size:)",
5984
+ "children": [
5985
+ {
5986
+ "kind": "TypeNominal",
5987
+ "name": "AVAudioWrapperBuffer",
5988
+ "printedName": "KeyWordDetection.AVAudioWrapperBuffer",
5989
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC"
5990
+ },
5991
+ {
5992
+ "kind": "TypeNominal",
5993
+ "name": "Int",
5994
+ "printedName": "Swift.Int",
5995
+ "usr": "s:Si"
5996
+ }
5997
+ ],
5998
+ "declKind": "Constructor",
5999
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC4sizeACSi_tcfc",
6000
+ "mangledName": "$s16KeyWordDetection20AVAudioWrapperBufferC4sizeACSi_tcfc",
6001
+ "moduleName": "KeyWordDetection",
6002
+ "declAttributes": [
6003
+ "AccessControl",
6004
+ "RawDocComment"
6005
+ ],
6006
+ "init_kind": "Designated"
6007
+ },
6008
+ {
6009
+ "kind": "Function",
6010
+ "name": "write",
6011
+ "printedName": "write(samples:)",
6012
+ "children": [
6013
+ {
6014
+ "kind": "TypeNominal",
6015
+ "name": "Void",
6016
+ "printedName": "()"
6017
+ },
6018
+ {
6019
+ "kind": "TypeNominal",
6020
+ "name": "Array",
6021
+ "printedName": "[Swift.Int16]",
6022
+ "children": [
6023
+ {
6024
+ "kind": "TypeNominal",
6025
+ "name": "Int16",
6026
+ "printedName": "Swift.Int16",
6027
+ "usr": "s:s5Int16V"
6028
+ }
6029
+ ],
6030
+ "usr": "s:Sa"
6031
+ }
6032
+ ],
6033
+ "declKind": "Func",
6034
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC5write7samplesySays5Int16VG_tKF",
6035
+ "mangledName": "$s16KeyWordDetection20AVAudioWrapperBufferC5write7samplesySays5Int16VG_tKF",
6036
+ "moduleName": "KeyWordDetection",
6037
+ "isOpen": true,
6038
+ "declAttributes": [
6039
+ "AccessControl",
6040
+ "RawDocComment"
6041
+ ],
6042
+ "throwing": true,
6043
+ "funcSelfKind": "NonMutating"
6044
+ },
6045
+ {
6046
+ "kind": "Function",
6047
+ "name": "read",
6048
+ "printedName": "read(count:)",
6049
+ "children": [
6050
+ {
6051
+ "kind": "TypeNominal",
6052
+ "name": "Array",
6053
+ "printedName": "[Swift.Int16]",
6054
+ "children": [
6055
+ {
6056
+ "kind": "TypeNominal",
6057
+ "name": "Int16",
6058
+ "printedName": "Swift.Int16",
6059
+ "usr": "s:s5Int16V"
6060
+ }
6061
+ ],
6062
+ "usr": "s:Sa"
6063
+ },
6064
+ {
6065
+ "kind": "TypeNominal",
6066
+ "name": "Int",
6067
+ "printedName": "Swift.Int",
6068
+ "usr": "s:Si"
6069
+ }
6070
+ ],
6071
+ "declKind": "Func",
6072
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC4read5countSays5Int16VGSi_tF",
6073
+ "mangledName": "$s16KeyWordDetection20AVAudioWrapperBufferC4read5countSays5Int16VGSi_tF",
6074
+ "moduleName": "KeyWordDetection",
6075
+ "isOpen": true,
6076
+ "declAttributes": [
6077
+ "AccessControl",
6078
+ "RawDocComment"
6079
+ ],
6080
+ "funcSelfKind": "NonMutating"
6081
+ },
6082
+ {
6083
+ "kind": "Function",
6084
+ "name": "availableSamples",
6085
+ "printedName": "availableSamples()",
6086
+ "children": [
6087
+ {
6088
+ "kind": "TypeNominal",
6089
+ "name": "Int",
6090
+ "printedName": "Swift.Int",
6091
+ "usr": "s:Si"
6092
+ }
6093
+ ],
6094
+ "declKind": "Func",
6095
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC16availableSamplesSiyF",
6096
+ "mangledName": "$s16KeyWordDetection20AVAudioWrapperBufferC16availableSamplesSiyF",
6097
+ "moduleName": "KeyWordDetection",
6098
+ "isOpen": true,
6099
+ "declAttributes": [
6100
+ "AccessControl",
6101
+ "RawDocComment"
6102
+ ],
6103
+ "funcSelfKind": "NonMutating"
6104
+ }
6105
+ ],
6106
+ "declKind": "Class",
6107
+ "usr": "s:16KeyWordDetection20AVAudioWrapperBufferC",
6108
+ "mangledName": "$s16KeyWordDetection20AVAudioWrapperBufferC",
6109
+ "moduleName": "KeyWordDetection",
6110
+ "isOpen": true,
6111
+ "declAttributes": [
6112
+ "AccessControl",
6113
+ "RawDocComment"
6114
+ ],
6115
+ "conformances": [
6116
+ {
6117
+ "kind": "Conformance",
6118
+ "name": "Copyable",
6119
+ "printedName": "Copyable",
6120
+ "usr": "s:s8CopyableP",
6121
+ "mangledName": "$ss8CopyableP"
6122
+ },
6123
+ {
6124
+ "kind": "Conformance",
6125
+ "name": "Escapable",
6126
+ "printedName": "Escapable",
6127
+ "usr": "s:s9EscapableP",
6128
+ "mangledName": "$ss9EscapableP"
6129
+ }
6130
+ ]
6131
+ },
6132
+ {
6133
+ "kind": "Import",
6134
+ "name": "Foundation",
6135
+ "printedName": "Foundation",
6136
+ "declKind": "Import",
6137
+ "moduleName": "KeyWordDetection"
6138
+ },
6139
+ {
6140
+ "kind": "Import",
6141
+ "name": "AVFoundation",
6142
+ "printedName": "AVFoundation",
6143
+ "declKind": "Import",
6144
+ "moduleName": "KeyWordDetection"
6145
+ },
6146
+ {
6147
+ "kind": "Import",
6148
+ "name": "os.log",
6149
+ "printedName": "os.log",
6150
+ "declKind": "Import",
6151
+ "moduleName": "KeyWordDetection"
6152
+ },
6153
+ {
6154
+ "kind": "Import",
6155
+ "name": "onnxruntime_objc",
6156
+ "printedName": "onnxruntime_objc",
6157
+ "declKind": "Import",
6158
+ "moduleName": "KeyWordDetection"
6159
+ },
6160
+ {
6161
+ "kind": "TypeDecl",
6162
+ "name": "SlieroVadDetector",
6163
+ "printedName": "SlieroVadDetector",
6164
+ "children": [
6165
+ {
6166
+ "kind": "Var",
6167
+ "name": "model",
6168
+ "printedName": "model",
6169
+ "children": [
6170
+ {
6171
+ "kind": "TypeNominal",
6172
+ "name": "SlieroVadOnnxModel",
6173
+ "printedName": "KeyWordDetection.SlieroVadOnnxModel",
6174
+ "usr": "s:16KeyWordDetection18SlieroVadOnnxModelC"
6175
+ }
6176
+ ],
6177
+ "declKind": "Var",
6178
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC5model33_917496F4A25929B84A55BD7DDC556CBELLAA0dE9OnnxModelCvp",
6179
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5model33_917496F4A25929B84A55BD7DDC556CBELLAA0dE9OnnxModelCvp",
6180
+ "moduleName": "KeyWordDetection",
6181
+ "isInternal": true,
6182
+ "declAttributes": [
6183
+ "Final",
6184
+ "HasStorage",
6185
+ "AccessControl"
6186
+ ],
6187
+ "fixedbinaryorder": 0,
6188
+ "isLet": true,
6189
+ "hasStorage": true
6190
+ },
6191
+ {
6192
+ "kind": "Var",
6193
+ "name": "audioData",
6194
+ "printedName": "audioData",
6195
+ "children": [
6196
+ {
6197
+ "kind": "TypeNominal",
6198
+ "name": "Array",
6199
+ "printedName": "[Swift.Float]",
6200
+ "children": [
6201
+ {
6202
+ "kind": "TypeNominal",
6203
+ "name": "Float",
6204
+ "printedName": "Swift.Float",
6205
+ "usr": "s:Sf"
6206
+ }
6207
+ ],
6208
+ "usr": "s:Sa"
6209
+ }
6210
+ ],
6211
+ "declKind": "Var",
6212
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC9audioData33_917496F4A25929B84A55BD7DDC556CBELLSaySfGvp",
6213
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9audioData33_917496F4A25929B84A55BD7DDC556CBELLSaySfGvp",
6214
+ "moduleName": "KeyWordDetection",
6215
+ "isInternal": true,
6216
+ "declAttributes": [
6217
+ "HasStorage",
6218
+ "AccessControl"
6219
+ ],
6220
+ "fixedbinaryorder": 1,
6221
+ "hasStorage": true
6222
+ },
6223
+ {
6224
+ "kind": "Constructor",
6225
+ "name": "init",
6226
+ "printedName": "init(modelPath:)",
6227
+ "children": [
6228
+ {
6229
+ "kind": "TypeNominal",
6230
+ "name": "SlieroVadDetector",
6231
+ "printedName": "KeyWordDetection.SlieroVadDetector",
6232
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC"
6233
+ },
6234
+ {
6235
+ "kind": "TypeNominal",
6236
+ "name": "String",
6237
+ "printedName": "Swift.String",
6238
+ "usr": "s:SS"
6239
+ }
6240
+ ],
6241
+ "declKind": "Constructor",
6242
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC9modelPathACSS_tKcfc",
6243
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9modelPathACSS_tKcfc",
6244
+ "moduleName": "KeyWordDetection",
6245
+ "throwing": true,
6246
+ "init_kind": "Designated"
6247
+ },
6248
+ {
6249
+ "kind": "Function",
6250
+ "name": "reset",
6251
+ "printedName": "reset()",
6252
+ "children": [
6253
+ {
6254
+ "kind": "TypeNominal",
6255
+ "name": "Void",
6256
+ "printedName": "()"
6257
+ }
6258
+ ],
6259
+ "declKind": "Func",
6260
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC5resetyyF",
6261
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5resetyyF",
6262
+ "moduleName": "KeyWordDetection",
6263
+ "isOpen": true,
6264
+ "funcSelfKind": "NonMutating"
6265
+ },
6266
+ {
6267
+ "kind": "Function",
6268
+ "name": "predict_2",
6269
+ "printedName": "predict_2(data:)",
6270
+ "children": [
6271
+ {
6272
+ "kind": "TypeNominal",
6273
+ "name": "Float",
6274
+ "printedName": "Swift.Float",
6275
+ "usr": "s:Sf"
6276
+ },
6277
+ {
6278
+ "kind": "TypeNominal",
6279
+ "name": "Array",
6280
+ "printedName": "[Swift.Int16]",
6281
+ "children": [
6282
+ {
6283
+ "kind": "TypeNominal",
6284
+ "name": "Int16",
6285
+ "printedName": "Swift.Int16",
6286
+ "usr": "s:s5Int16V"
6287
+ }
6288
+ ],
6289
+ "usr": "s:Sa"
6290
+ }
6291
+ ],
6292
+ "declKind": "Func",
6293
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC9predict_24dataSfSays5Int16VG_tKF",
6294
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC9predict_24dataSfSays5Int16VG_tKF",
6295
+ "moduleName": "KeyWordDetection",
6296
+ "isOpen": true,
6297
+ "throwing": true,
6298
+ "funcSelfKind": "NonMutating"
6299
+ },
6300
+ {
6301
+ "kind": "Function",
6302
+ "name": "close",
6303
+ "printedName": "close()",
6304
+ "children": [
6305
+ {
6306
+ "kind": "TypeNominal",
6307
+ "name": "Void",
6308
+ "printedName": "()"
6309
+ }
6310
+ ],
6311
+ "declKind": "Func",
6312
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC5closeyyF",
6313
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC5closeyyF",
6314
+ "moduleName": "KeyWordDetection",
6315
+ "isOpen": true,
6316
+ "funcSelfKind": "NonMutating"
6317
+ }
6318
+ ],
6319
+ "declKind": "Class",
6320
+ "usr": "s:16KeyWordDetection17SlieroVadDetectorC",
6321
+ "mangledName": "$s16KeyWordDetection17SlieroVadDetectorC",
6322
+ "moduleName": "KeyWordDetection",
6323
+ "isOpen": true,
6324
+ "conformances": [
6325
+ {
6326
+ "kind": "Conformance",
6327
+ "name": "Copyable",
6328
+ "printedName": "Copyable",
6329
+ "usr": "s:s8CopyableP",
6330
+ "mangledName": "$ss8CopyableP"
6331
+ },
6332
+ {
6333
+ "kind": "Conformance",
6334
+ "name": "Escapable",
6335
+ "printedName": "Escapable",
6336
+ "usr": "s:s9EscapableP",
6337
+ "mangledName": "$ss9EscapableP"
6338
+ }
6339
+ ]
6340
+ },
6341
+ {
6342
+ "kind": "Import",
6343
+ "name": "Foundation",
6344
+ "printedName": "Foundation",
6345
+ "declKind": "Import",
6346
+ "moduleName": "KeyWordDetection"
6347
+ },
6348
+ {
6349
+ "kind": "Import",
6350
+ "name": "CommonCrypto",
6351
+ "printedName": "CommonCrypto",
6352
+ "declKind": "Import",
6353
+ "moduleName": "KeyWordDetection"
6354
+ },
6355
+ {
6356
+ "kind": "TypeDecl",
6357
+ "name": "LicenseManager",
6358
+ "printedName": "LicenseManager",
6359
+ "children": [
6360
+ {
6361
+ "kind": "Function",
6362
+ "name": "isLicenseValid",
6363
+ "printedName": "isLicenseValid(licenseKey:)",
6364
+ "children": [
6365
+ {
6366
+ "kind": "TypeNominal",
6367
+ "name": "Bool",
6368
+ "printedName": "Swift.Bool",
6369
+ "usr": "s:Sb"
6370
+ },
6371
+ {
6372
+ "kind": "TypeNominal",
6373
+ "name": "String",
6374
+ "printedName": "Swift.String",
6375
+ "usr": "s:SS"
6376
+ }
6377
+ ],
6378
+ "declKind": "Func",
6379
+ "usr": "s:16KeyWordDetection14LicenseManagerC02isD5Valid07licenseA0SbSS_tFZ",
6380
+ "mangledName": "$s16KeyWordDetection14LicenseManagerC02isD5Valid07licenseA0SbSS_tFZ",
6381
+ "moduleName": "KeyWordDetection",
6382
+ "static": true,
6383
+ "declAttributes": [
6384
+ "Final"
6385
+ ],
6386
+ "funcSelfKind": "NonMutating"
6387
+ },
6388
+ {
6389
+ "kind": "Constructor",
6390
+ "name": "init",
6391
+ "printedName": "init()",
6392
+ "children": [
6393
+ {
6394
+ "kind": "TypeNominal",
6395
+ "name": "LicenseManager",
6396
+ "printedName": "KeyWordDetection.LicenseManager",
6397
+ "usr": "c:@M@KeyWordDetection@objc(cs)LicenseManager"
6398
+ }
4887
6399
  ],
4888
6400
  "declKind": "Constructor",
4889
6401
  "usr": "c:@M@KeyWordDetection@objc(cs)LicenseManager(im)init",
@@ -5317,140 +6829,140 @@
5317
6829
  {
5318
6830
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5319
6831
  "kind": "BooleanLiteral",
5320
- "offset": 139,
6832
+ "offset": 112,
5321
6833
  "length": 5,
5322
6834
  "value": "false"
5323
6835
  },
5324
6836
  {
5325
6837
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5326
6838
  "kind": "IntegerLiteral",
5327
- "offset": 180,
6839
+ "offset": 153,
5328
6840
  "length": 1,
5329
6841
  "value": "0"
5330
6842
  },
5331
6843
  {
5332
6844
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5333
6845
  "kind": "FloatLiteral",
5334
- "offset": 226,
6846
+ "offset": 199,
5335
6847
  "length": 7,
5336
6848
  "value": "16000.0"
5337
6849
  },
5338
6850
  {
5339
6851
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5340
6852
  "kind": "StringLiteral",
5341
- "offset": 256,
6853
+ "offset": 229,
5342
6854
  "length": 29,
5343
6855
  "value": "\"AudioProcessorFromVADOrFile\""
5344
6856
  },
5345
6857
  {
5346
6858
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5347
6859
  "kind": "StringLiteral",
5348
- "offset": 715,
6860
+ "offset": 688,
5349
6861
  "length": 17,
5350
6862
  "value": "\"silero_vad.onnx\""
5351
6863
  },
5352
6864
  {
5353
6865
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5354
6866
  "kind": "BooleanLiteral",
5355
- "offset": 872,
6867
+ "offset": 845,
5356
6868
  "length": 5,
5357
6869
  "value": "false"
5358
6870
  },
5359
6871
  {
5360
6872
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5361
6873
  "kind": "FloatLiteral",
5362
- "offset": 914,
6874
+ "offset": 887,
5363
6875
  "length": 3,
5364
6876
  "value": "0.8"
5365
6877
  },
5366
6878
  {
5367
6879
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5368
6880
  "kind": "FloatLiteral",
5369
- "offset": 993,
6881
+ "offset": 966,
5370
6882
  "length": 3,
5371
6883
  "value": "0.8"
5372
6884
  },
5373
6885
  {
5374
6886
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5375
6887
  "kind": "FloatLiteral",
5376
- "offset": 1083,
6888
+ "offset": 1056,
5377
6889
  "length": 3,
5378
6890
  "value": "0.0"
5379
6891
  },
5380
6892
  {
5381
6893
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5382
6894
  "kind": "FloatLiteral",
5383
- "offset": 1187,
6895
+ "offset": 1160,
5384
6896
  "length": 4,
5385
6897
  "value": "0.45"
5386
6898
  },
5387
6899
  {
5388
6900
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5389
6901
  "kind": "IntegerLiteral",
5390
- "offset": 1438,
6902
+ "offset": 1411,
5391
6903
  "length": 1,
5392
6904
  "value": "0"
5393
6905
  },
5394
6906
  {
5395
6907
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5396
6908
  "kind": "IntegerLiteral",
5397
- "offset": 1485,
6909
+ "offset": 1458,
5398
6910
  "length": 4,
5399
6911
  "value": "1000"
5400
6912
  },
5401
6913
  {
5402
6914
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5403
6915
  "kind": "IntegerLiteral",
5404
- "offset": 1539,
6916
+ "offset": 1512,
5405
6917
  "length": 1,
5406
6918
  "value": "0"
5407
6919
  },
5408
6920
  {
5409
6921
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5410
6922
  "kind": "Array",
5411
- "offset": 1641,
6923
+ "offset": 1614,
5412
6924
  "length": 2,
5413
6925
  "value": "[]"
5414
6926
  },
5415
6927
  {
5416
6928
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5417
6929
  "kind": "Array",
5418
- "offset": 1692,
6930
+ "offset": 1665,
5419
6931
  "length": 2,
5420
6932
  "value": "[]"
5421
6933
  },
5422
6934
  {
5423
6935
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5424
6936
  "kind": "IntegerLiteral",
5425
- "offset": 1740,
6937
+ "offset": 1713,
5426
6938
  "length": 1,
5427
6939
  "value": "5"
5428
6940
  },
5429
6941
  {
5430
6942
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5431
6943
  "kind": "FloatLiteral",
5432
- "offset": 14432,
6944
+ "offset": 14479,
5433
6945
  "length": 3,
5434
6946
  "value": "0.1"
5435
6947
  },
5436
6948
  {
5437
6949
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5438
6950
  "kind": "IntegerLiteral",
5439
- "offset": 14463,
6951
+ "offset": 14510,
5440
6952
  "length": 1,
5441
6953
  "value": "5"
5442
6954
  },
5443
6955
  {
5444
6956
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5445
6957
  "kind": "FloatLiteral",
5446
- "offset": 16593,
6958
+ "offset": 16640,
5447
6959
  "length": 3,
5448
6960
  "value": "0.1"
5449
6961
  },
5450
6962
  {
5451
6963
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AudioProcessorFromVADOrFile.swift",
5452
6964
  "kind": "IntegerLiteral",
5453
- "offset": 16616,
6965
+ "offset": 16663,
5454
6966
  "length": 1,
5455
6967
  "value": "5"
5456
6968
  },
@@ -5496,6 +7008,55 @@
5496
7008
  "length": 3,
5497
7009
  "value": "[]"
5498
7010
  },
7011
+ {
7012
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapper.swift",
7013
+ "kind": "IntegerLiteral",
7014
+ "offset": 1158,
7015
+ "length": 1,
7016
+ "value": "3"
7017
+ },
7018
+ {
7019
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapper.swift",
7020
+ "kind": "IntegerLiteral",
7021
+ "offset": 1278,
7022
+ "length": 1,
7023
+ "value": "3"
7024
+ },
7025
+ {
7026
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapper.swift",
7027
+ "kind": "Array",
7028
+ "offset": 1400,
7029
+ "length": 2,
7030
+ "value": "[]"
7031
+ },
7032
+ {
7033
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapper.swift",
7034
+ "kind": "Array",
7035
+ "offset": 1467,
7036
+ "length": 2,
7037
+ "value": "[]"
7038
+ },
7039
+ {
7040
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapper.swift",
7041
+ "kind": "BooleanLiteral",
7042
+ "offset": 1508,
7043
+ "length": 5,
7044
+ "value": "false"
7045
+ },
7046
+ {
7047
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapperBuffer.swift",
7048
+ "kind": "IntegerLiteral",
7049
+ "offset": 678,
7050
+ "length": 1,
7051
+ "value": "0"
7052
+ },
7053
+ {
7054
+ "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/AVAudioWrapperBuffer.swift",
7055
+ "kind": "IntegerLiteral",
7056
+ "offset": 714,
7057
+ "length": 1,
7058
+ "value": "0"
7059
+ },
5499
7060
  {
5500
7061
  "filePath": "\/Users\/oferfryman\/projects\/KeywordDetectionIOSLibPrivate\/Sources\/LicenseManager.swift",
5501
7062
  "kind": "StringLiteral",