react-native-davoice 1.0.13 → 1.0.14
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/Info.plist +5 -5
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +6335 -6049
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.private.swiftinterface +20 -17
- 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 +20 -17
- 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/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +8252 -7966
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +80 -77
- 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 +80 -77
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +8252 -7966
- package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +80 -77
- 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 +80 -77
- 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 +30 -30
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import AVFoundation
|
|
|
7
7
|
import Accelerate
|
|
8
8
|
import CommonCrypto
|
|
9
9
|
import Foundation
|
|
10
|
+
import ObjectiveC
|
|
10
11
|
import Speech
|
|
11
12
|
import Swift
|
|
12
13
|
import UIKit
|
|
@@ -15,11 +16,7 @@ import _StringProcessing
|
|
|
15
16
|
import _SwiftConcurrencyShims
|
|
16
17
|
import onnxruntime_objc
|
|
17
18
|
import phonemes
|
|
18
|
-
|
|
19
|
-
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
20
|
-
@objc override dynamic public init()
|
|
21
|
-
@objc deinit
|
|
22
|
-
}
|
|
19
|
+
import ObjectiveC.runtime
|
|
23
20
|
@objc public protocol STTDelegate {
|
|
24
21
|
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
25
22
|
}
|
|
@@ -34,6 +31,7 @@ import phonemes
|
|
|
34
31
|
@objc final public var useShortSpeakerVerificationTailWindow: Swift.Bool
|
|
35
32
|
@objc final public var shortSpeakerVerificationTailSeconds: Swift.Float
|
|
36
33
|
@objc final public var speakerPreRollFlushMaxSeconds: Swift.Double
|
|
34
|
+
@objc deinit
|
|
37
35
|
@objc public static let supportedEvents: [Swift.String]
|
|
38
36
|
@objc final public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
39
37
|
@objc final public func pauseSpeechRecognitionLite()
|
|
@@ -57,7 +55,19 @@ import phonemes
|
|
|
57
55
|
@objc final public func teardown()
|
|
58
56
|
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
59
57
|
@objc override dynamic public init()
|
|
60
|
-
|
|
58
|
+
}
|
|
59
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
60
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
61
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
62
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
63
|
+
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
64
|
+
public enum AudioPlaybackHook {
|
|
65
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
66
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
67
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
68
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
69
|
+
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
70
|
+
public static var isMicPaused: (() -> Swift.Bool)?
|
|
61
71
|
}
|
|
62
72
|
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
63
73
|
case off, error, warn, info, debug, trace
|
|
@@ -199,17 +209,10 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
199
209
|
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
200
210
|
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
201
211
|
}
|
|
202
|
-
|
|
203
|
-
public
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
207
|
-
public enum AudioPlaybackHook {
|
|
208
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
209
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
210
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
211
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
212
|
-
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
212
|
+
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
213
|
+
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
214
|
+
@objc override dynamic public init()
|
|
215
|
+
@objc deinit
|
|
213
216
|
}
|
|
214
217
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
215
218
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|
|
Binary file
|
|
@@ -7,6 +7,7 @@ import AVFoundation
|
|
|
7
7
|
import Accelerate
|
|
8
8
|
import CommonCrypto
|
|
9
9
|
import Foundation
|
|
10
|
+
import ObjectiveC
|
|
10
11
|
import Speech
|
|
11
12
|
import Swift
|
|
12
13
|
import UIKit
|
|
@@ -15,11 +16,7 @@ import _StringProcessing
|
|
|
15
16
|
import _SwiftConcurrencyShims
|
|
16
17
|
import onnxruntime_objc
|
|
17
18
|
import phonemes
|
|
18
|
-
|
|
19
|
-
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
20
|
-
@objc override dynamic public init()
|
|
21
|
-
@objc deinit
|
|
22
|
-
}
|
|
19
|
+
import ObjectiveC.runtime
|
|
23
20
|
@objc public protocol STTDelegate {
|
|
24
21
|
@objc func stt(_ stt: DavoiceTTS.STT, didEmitEvent name: Swift.String, body: [Swift.String : Any]?)
|
|
25
22
|
}
|
|
@@ -34,6 +31,7 @@ import phonemes
|
|
|
34
31
|
@objc final public var useShortSpeakerVerificationTailWindow: Swift.Bool
|
|
35
32
|
@objc final public var shortSpeakerVerificationTailSeconds: Swift.Float
|
|
36
33
|
@objc final public var speakerPreRollFlushMaxSeconds: Swift.Double
|
|
34
|
+
@objc deinit
|
|
37
35
|
@objc public static let supportedEvents: [Swift.String]
|
|
38
36
|
@objc final public func setLicense(licenseKey: Swift.String) -> Swift.Bool
|
|
39
37
|
@objc final public func pauseSpeechRecognitionLite()
|
|
@@ -57,7 +55,19 @@ import phonemes
|
|
|
57
55
|
@objc final public func teardown()
|
|
58
56
|
@objc final public func speechRecognizer(_ speechRecognizer: Speech.SFSpeechRecognizer, availabilityDidChange available: Swift.Bool)
|
|
59
57
|
@objc override dynamic public init()
|
|
60
|
-
|
|
58
|
+
}
|
|
59
|
+
public typealias EngineSchedule = (_ url: Foundation.URL, _ onDone: @escaping () -> Swift.Void) -> Swift.Bool
|
|
60
|
+
public typealias IsEngineReady = () -> Swift.Bool
|
|
61
|
+
public typealias useOnlyEnginePlayback = () -> Swift.Bool
|
|
62
|
+
public typealias StopEnginePlayback = () -> Swift.Void
|
|
63
|
+
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
64
|
+
public enum AudioPlaybackHook {
|
|
65
|
+
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
66
|
+
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
67
|
+
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
68
|
+
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
69
|
+
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
70
|
+
public static var isMicPaused: (() -> Swift.Bool)?
|
|
61
71
|
}
|
|
62
72
|
public enum SVLogLevel : Swift.Int, Swift.Codable {
|
|
63
73
|
case off, error, warn, info, debug, trace
|
|
@@ -199,17 +209,10 @@ public enum SpeakerVerificationError : Swift.Error, Swift.CustomStringConvertibl
|
|
|
199
209
|
@objc final public func playWav(_ url: Foundation.URL, markAsLastUtterance: Swift.Bool = true)
|
|
200
210
|
@objc final public func playBuffer(_ buffer: AVFAudio.AVAudioPCMBuffer, markAsLastUtterance: Swift.Bool = true)
|
|
201
211
|
}
|
|
202
|
-
|
|
203
|
-
public
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
public typealias CurrentEngineProvider = () -> AVFAudio.AVAudioEngine?
|
|
207
|
-
public enum AudioPlaybackHook {
|
|
208
|
-
public static var engineScheduleFile: DavoiceTTS.EngineSchedule?
|
|
209
|
-
public static var isEngineReady: DavoiceTTS.IsEngineReady?
|
|
210
|
-
public static var useOnlyEnginePlayback: DavoiceTTS.useOnlyEnginePlayback?
|
|
211
|
-
public static var stopEnginePlayback: DavoiceTTS.StopEnginePlayback?
|
|
212
|
-
public static var currentEngine: DavoiceTTS.CurrentEngineProvider?
|
|
212
|
+
@_inheritsConvenienceInitializers @objc final public class LicenseManager : ObjectiveC.NSObject {
|
|
213
|
+
@objc public static func isLicenseValid(licenseKey: Swift.String) -> Swift.Bool
|
|
214
|
+
@objc override dynamic public init()
|
|
215
|
+
@objc deinit
|
|
213
216
|
}
|
|
214
217
|
extension DavoiceTTS.SVLogLevel : Swift.Equatable {}
|
|
215
218
|
extension DavoiceTTS.SVLogLevel : Swift.Hashable {}
|