![]() |
NDEVR
API Documentation
|
Produces sound on the host Device, if possible. More...
Public Member Functions | |
| virtual Buffer< Sound > | availableSounds ()=0 |
| Returns all sound resources available through this factory. | |
| virtual void | enableTextToSpeech (bool enable)=0 |
| Enables or disables text-to-speech output for this factory. | |
| virtual bool | playSound (const StringView &s)=0 |
| Plays the sound identified by the given resource string. | |
| virtual bool | supportsTextToSpeech () const =0 |
| Returns whether this factory supports text-to-speech conversion. | |
| virtual bool | textToSpeech (const TextToSpeechRequest &s)=0 |
| Converts the given text-to-speech request into audible speech. | |
| virtual bool | textToSpeechEnabled () const =0 |
| Returns whether text-to-speech is currently enabled for this factory. | |
Produces sound on the host Device, if possible.
Can also create speech from given text.
Definition at line 33 of file SoundManager.h.
Returns all sound resources available through this factory.
Implemented in QTSoundManager.
|
pure virtual |
Enables or disables text-to-speech output for this factory.
| [in] | enable | True to enable, false to disable. |
Implemented in QTSoundManager.
|
pure virtual |
Plays the sound identified by the given resource string.
| [in] | s | The sound resource identifier. |
Implemented in QTSoundManager.
|
pure virtual |
Returns whether this factory supports text-to-speech conversion.
Implemented in QTSoundManager.
|
pure virtual |
Converts the given text-to-speech request into audible speech.
| [in] | s | The text-to-speech request containing the text and a backup sound. |
Implemented in QTSoundManager.
|
pure virtual |
Returns whether text-to-speech is currently enabled for this factory.
Implemented in QTSoundManager.