summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-27 23:50:16 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-27 23:50:16 +0000
commit30063f42cc8d13ed241a52b90e63c2c68599115e (patch)
tree68868a0aa04007a0ad4a62d97556c27b48f057d7 /src/sound.cpp
parent0ecae988adfa88cb6b8803a9f5b7215221fceb74 (diff)
downloadmana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.gz
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.bz2
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.tar.xz
mana-30063f42cc8d13ed241a52b90e63c2c68599115e.zip
autoTarget is now a Being*, also may have fixed related crash and added label
to show current target.
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 78e949cb..b44ba077 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -69,7 +69,8 @@ void Sound::init()
installed = true;
}
-void Sound::info() {
+void Sound::info()
+{
SDL_version compiledVersion;
const SDL_version *linkedVersion;
char driver[40] = "Unknown";
@@ -102,9 +103,9 @@ void Sound::info() {
linkedVersion->minor,
linkedVersion->patch);
logger->log("Sound::info() Driver: %s", driver);
- logger->log("Sound::init() Format: %s", format);
- logger->log("Sound::init() Rate: %i", rate);
- logger->log("Sound::init() Channels: %i", channels);
+ logger->log("Sound::info() Format: %s", format);
+ logger->log("Sound::info() Rate: %i", rate);
+ logger->log("Sound::info() Channels: %i", channels);
}
void Sound::setMusicVolume(int volume)