react-native-davoice-tts 1.0.398 → 1.0.401
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.
- package/TTSRNBridge.podspec +1 -1
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar +0 -0
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.md5 +1 -1
- package/android/libs/com/davoice/tts/1.0.0/tts-1.0.0.aar.sha1 +1 -1
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +6 -5
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +1090 -405
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Headers/DavoiceTTS-Swift.h +12 -10
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +1090 -405
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +1090 -405
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +33 -33
- package/package.json +1 -1
|
@@ -31,6 +31,9 @@ public typealias ResumeEngineAfterAudioSessionCycle = () -> Swift.Void
|
|
|
31
31
|
}
|
|
32
32
|
public enum AudioPlaybackHook {
|
|
33
33
|
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
34
|
+
public static var engineScheduleFailedAsync: ((Foundation.URL) -> Swift.Void)?
|
|
35
|
+
public static var sttRoutingConfigDidChange: (() -> Swift.Void)?
|
|
36
|
+
public static var stopSpeakingForRoutingChange: (() -> Swift.Void)?
|
|
34
37
|
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
35
38
|
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
36
39
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
Binary file
|
|
@@ -31,6 +31,9 @@ public typealias ResumeEngineAfterAudioSessionCycle = () -> Swift.Void
|
|
|
31
31
|
}
|
|
32
32
|
public enum AudioPlaybackHook {
|
|
33
33
|
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
34
|
+
public static var engineScheduleFailedAsync: ((Foundation.URL) -> Swift.Void)?
|
|
35
|
+
public static var sttRoutingConfigDidChange: (() -> Swift.Void)?
|
|
36
|
+
public static var stopSpeakingForRoutingChange: (() -> Swift.Void)?
|
|
34
37
|
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
35
38
|
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
36
39
|
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
Binary file
|
|
@@ -312,6 +312,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
312
312
|
/// DaVoice prefers this direct config and falls back to the wakeword library’s config.
|
|
313
313
|
SWIFT_CLASS("_TtC10DavoiceTTS25DaVoiceAudioRoutingConfig")
|
|
314
314
|
@interface DaVoiceAudioRoutingConfig : NSObject
|
|
315
|
+
/// Can be called at any time. When the wake-word framework is in the app,
|
|
316
|
+
/// the JSON is also written into wake word’s store, so both libraries always
|
|
317
|
+
/// run on the same config whichever API the app calls (wake word’s setter
|
|
318
|
+
/// then announces the change). Without wake word, the change is announced
|
|
319
|
+
/// here. Either way RoutingConfigChange applies it once, safely.
|
|
315
320
|
+ (BOOL)setAudioRoutingConfigJSONString:(NSString * _Nonnull)json SWIFT_WARN_UNUSED_RESULT;
|
|
316
321
|
+ (void)clearAudioRoutingConfig;
|
|
317
322
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -332,10 +337,7 @@ SWIFT_CLASS("_TtC10DavoiceTTS16DaVoiceLegacyAEC")
|
|
|
332
337
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL isEnabled;)
|
|
333
338
|
+ (BOOL)isEnabled SWIFT_WARN_UNUSED_RESULT;
|
|
334
339
|
+ (void)setIsEnabled:(BOOL)newValue;
|
|
335
|
-
/// True when this device/OS offers session-level AEC
|
|
336
|
-
/// true in this process it stays true, so a transient route/category where
|
|
337
|
-
/// iOS reports it unavailable can never switch a newer iPhone onto the
|
|
338
|
-
/// fallback path.
|
|
340
|
+
/// True when this device/OS offers session-level AEC (see observeDevice).
|
|
339
341
|
+ (BOOL)deviceHasSessionLevelAEC:(AVAudioSession * _Nonnull)session SWIFT_WARN_UNUSED_RESULT;
|
|
340
342
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
341
343
|
@end
|
|
@@ -354,7 +356,6 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
354
356
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
355
357
|
- (void)setUseEuropeanNumberFormat:(BOOL)enabled;
|
|
356
358
|
- (nullable instancetype)initWithModel:(NSURL * _Nonnull)model error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
357
|
-
/// Immediately stop speaking: cancels future synthesis work and flushes all playback.
|
|
358
359
|
- (void)stopSpeaking;
|
|
359
360
|
/// Destroy the TTS instance resources; after this call, the object should not be used.
|
|
360
361
|
/// Effectively returns the instance to “pre-init” state.
|
|
@@ -773,6 +774,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
773
774
|
/// DaVoice prefers this direct config and falls back to the wakeword library’s config.
|
|
774
775
|
SWIFT_CLASS("_TtC10DavoiceTTS25DaVoiceAudioRoutingConfig")
|
|
775
776
|
@interface DaVoiceAudioRoutingConfig : NSObject
|
|
777
|
+
/// Can be called at any time. When the wake-word framework is in the app,
|
|
778
|
+
/// the JSON is also written into wake word’s store, so both libraries always
|
|
779
|
+
/// run on the same config whichever API the app calls (wake word’s setter
|
|
780
|
+
/// then announces the change). Without wake word, the change is announced
|
|
781
|
+
/// here. Either way RoutingConfigChange applies it once, safely.
|
|
776
782
|
+ (BOOL)setAudioRoutingConfigJSONString:(NSString * _Nonnull)json SWIFT_WARN_UNUSED_RESULT;
|
|
777
783
|
+ (void)clearAudioRoutingConfig;
|
|
778
784
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
@@ -793,10 +799,7 @@ SWIFT_CLASS("_TtC10DavoiceTTS16DaVoiceLegacyAEC")
|
|
|
793
799
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL isEnabled;)
|
|
794
800
|
+ (BOOL)isEnabled SWIFT_WARN_UNUSED_RESULT;
|
|
795
801
|
+ (void)setIsEnabled:(BOOL)newValue;
|
|
796
|
-
/// True when this device/OS offers session-level AEC
|
|
797
|
-
/// true in this process it stays true, so a transient route/category where
|
|
798
|
-
/// iOS reports it unavailable can never switch a newer iPhone onto the
|
|
799
|
-
/// fallback path.
|
|
802
|
+
/// True when this device/OS offers session-level AEC (see observeDevice).
|
|
800
803
|
+ (BOOL)deviceHasSessionLevelAEC:(AVAudioSession * _Nonnull)session SWIFT_WARN_UNUSED_RESULT;
|
|
801
804
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
802
805
|
@end
|
|
@@ -815,7 +818,6 @@ SWIFT_CLASS("_TtC10DavoiceTTS10DaVoiceTTS")
|
|
|
815
818
|
- (BOOL)setLicenseWithLicenseKey:(NSString * _Nonnull)licenseKey SWIFT_WARN_UNUSED_RESULT;
|
|
816
819
|
- (void)setUseEuropeanNumberFormat:(BOOL)enabled;
|
|
817
820
|
- (nullable instancetype)initWithModel:(NSURL * _Nonnull)model error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
818
|
-
/// Immediately stop speaking: cancels future synthesis work and flushes all playback.
|
|
819
821
|
- (void)stopSpeaking;
|
|
820
822
|
/// Destroy the TTS instance resources; after this call, the object should not be used.
|
|
821
823
|
/// Effectively returns the instance to “pre-init” state.
|