AudioEngineProvider
interface AudioEngineProvider<S : Configurable.Settings, P : Configurable.Preferences<P>, E : PreferencesEditor<P>>
To be implemented by adapters for third-party audio engines which can be used with AudioNavigator.
Functions
Link copied to clipboard
Creates an empty set of preferences of this TTS engine provider.
Link copied to clipboard
abstract suspend fun createEngine(publication: Publication, initialLocator: Locator, initialPreferences: P): Try<AudioEngine<S, P>, Error>
Link copied to clipboard
Creates a preferences editor for publication and initialPreferences.