summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-04-11 19:47:17 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-04-11 19:47:17 +0000
commit160e544a794dfc35e37d3790d606b76c0acb8b0e (patch)
treef4b7e07482271bf638b053b6f1afaf2aeec1ee5d /src/gui/setup.cpp
parentceaae48958dd674e5aac67606de183bb6b0ac36e (diff)
downloadmana-160e544a794dfc35e37d3790d606b76c0acb8b0e.tar.gz
mana-160e544a794dfc35e37d3790d606b76c0acb8b0e.tar.bz2
mana-160e544a794dfc35e37d3790d606b76c0acb8b0e.tar.xz
mana-160e544a794dfc35e37d3790d606b76c0acb8b0e.zip
Improving sound engine (now it loads samples through resource manager)
and support music fading (still somthing to fix)
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 9f304b61..6d4dade4 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -230,7 +230,7 @@ void Setup::action(const std::string &eventId)
if (soundCheckBox->isMarked()) {
config.setValue("sound", 1);
try {
- sound.init(32, 20);
+ sound.init();
}
catch (const char *err) {
new OkDialog(this, "Sound Engine", err);