AudioEngineProvider

To be implemented by adapters for third-party audio engines which can be used with AudioNavigator.

Functions

Link copied to clipboard
abstract fun createEmptyPreferences(): P

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
abstract fun createPreferenceEditor(publication: Publication, initialPreferences: P): E

Creates a preferences editor for publication and initialPreferences.