Class Engine
java.lang.Object
com.vivoka.vsdk.speechenhancement.Engine
- All Implemented Interfaces:
IEngine
Abstract class representing the speech enhancement engine.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSpeechEnhancer(String name) Gets or creates a speech enhancer with the specified name.protected abstract SpeechEnhancermakeSpeechEnhancer(String name) voidremoveSpeechEnhancer(String name) Removes the speech enhancer with the specified name.
-
Field Details
-
_enhancers
-
-
Constructor Details
-
Engine
public Engine()
-
-
Method Details
-
getSpeechEnhancer
Gets or creates a speech enhancer with the specified name.- Parameters:
name- The name of the speech enhancer.- Returns:
- The speech enhancer instance.
- Throws:
Exception- If the speech enhancer cannot be created or found.
-
removeSpeechEnhancer
Removes the speech enhancer with the specified name.- Parameters:
name- The name of the speech enhancer to remove.- Throws:
Exception- If the speech enhancer cannot be removed.
-
makeSpeechEnhancer
- Throws:
Exception
-