#include <twgui_sound.h>
Inheritance diagram for SoundBase:

Public Member Functions | |
| virtual void | load () |
| virtual void | save () |
| virtual void | set_volume (double sound_volume, double music_volume, int sound_on, int music_on) |
| virtual void | init ()=0 |
| virtual TwguiMusicBase * | create_music ()=0 |
| virtual TwguiSampleBase * | create_sample ()=0 |
Public Attributes | |
| char | sound_on |
| char | music_on |
| double | sound_volume |
| double | music_volume |
|
|
overload this to create a music piece that can play using some audio device Implemented in TwguiSound. |
|
|
overload this to create a sound effect sample that can play using some audio device Implemented in TwguiSound. |
|
|
overload this to allocate an audio device Implemented in TwguiSound. |
|
|
initialize sound settings from an already opened config file |
|
|
write sound settings to an already opened config file |
|
||||||||||||||||||||
|
adjust volume settings (this does not actively change sound level - that's left to the individual samples |
|
|
allow music to be played or not |
|
|
level of music |
|
|
allow sound effects to be played or not |
|
|
level of sound effects |
1.4.6-NO