API Documentation
Loading...
Searching...
No Matches
SoundManager Class Reference

Handles iterating through sound factories until one is able to produce sound given the input sound resource. More...

#include <SoundManager.h>

Inheritance diagram for SoundManager:
[legend]
Collaboration diagram for SoundManager:
[legend]

Static Public Member Functions

static void AddSoundFactory (SoundFactory *factory)
 
static Buffer< SoundAvailableSounds ()
 
static void EnableTextToSpeech (bool enable)
 
static bool PlaySound (const String &s)
 
static bool SupportsTextToSpeech ()
 
static bool TextToSpeech (const TextToSpeechRequest &s)
 

Static Public Attributes

static ApplicationOption< bool > enable_sound
 
static ApplicationOption< bool > enable_text_to_speech
 
static ApplicationOption< bool > grab_volume_keys
 

Static Protected Attributes

static Buffer< SoundFactory * > s_sound_factories
 

Detailed Description

Handles iterating through sound factories until one is able to produce sound given the input sound resource.


Member Function Documentation

◆ AddSoundFactory()

static void AddSoundFactory ( SoundFactory * factory)
static

◆ AvailableSounds()

static Buffer< Sound > AvailableSounds ( )
static

◆ EnableTextToSpeech()

static void EnableTextToSpeech ( bool enable)
static

◆ PlaySound()

static bool PlaySound ( const String & s)
static

◆ SupportsTextToSpeech()

static bool SupportsTextToSpeech ( )
static

◆ TextToSpeech()

static bool TextToSpeech ( const TextToSpeechRequest & s)
static

Member Data Documentation

◆ enable_sound

ApplicationOption<bool> enable_sound
static

◆ enable_text_to_speech

ApplicationOption<bool> enable_text_to_speech
static

◆ grab_volume_keys

ApplicationOption<bool> grab_volume_keys
static

◆ s_sound_factories

Buffer<SoundFactory*> s_sound_factories
staticprotected

The documentation for this class was generated from the following file: