diff --git a/lib/install/macos.js b/lib/install/macos.js index c093895..573ea67 100644 --- a/lib/install/macos.js +++ b/lib/install/macos.js @@ -11,6 +11,14 @@ const EXTENSION_IDENTIFIER = 'com.bocoup.ATDriverGenericMacOS.ATDriverGenericMac const VOICE_IDENTIFIER = 'com.bocoup.ATDriverGenericMacOS.ATDriverGenericMacOSExtension.ATDriverGenericMacOSExtension'; const SYSTEM_VOICE_IDENTIFIER = 'com.apple.Fred'; +/** + * This string comprises three tokens (the "type", "subtype", and + * "manufacturer" of the Audio Unit) which must be kept in-sync with other + * references in this project: + * + * - src/macos/ATDriverGenericMacOS/ATDriverGenericMacOS/Model/AudioUnitHostModel.swift + * - src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist + */ const PLUGIN_TRIPLET_IDENTIFIER = 'ausp atdg BOCU'; const exec = promisify(_exec); diff --git a/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOS/Model/AudioUnitHostModel.swift b/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOS/Model/AudioUnitHostModel.swift index 0f66e7e..b9f1a88 100644 --- a/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOS/Model/AudioUnitHostModel.swift +++ b/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOS/Model/AudioUnitHostModel.swift @@ -31,6 +31,11 @@ class AudioUnitHostModel: ObservableObject { let auValString: String + /// These values must be kept in-sync with other references in this + /// project: + /// + /// - lib/install/macos.js + /// - src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist init(type: String = "ausp", subType: String = "atdg", manufacturer: String = "BOCU") { self.type = type self.subType = subType diff --git a/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist b/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist index b5434e3..b07e34b 100644 --- a/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist +++ b/src/macos/ATDriverGenericMacOS/ATDriverGenericMacOSExtension/Info.plist @@ -11,18 +11,39 @@ description ATDriverGenericMacOSExtension + manufacturer BOCU name Bocoup LLC: ATDriverGenericMacOSExtension sandboxSafe + subtype atdg tags Speech Synthesizer + type ausp version