projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681ca82
)
fix supertux blocking when no sound is available (I really still think we should...
author
Matthias Braun
<matze@braunis.de>
Thu, 25 May 2006 10:17:26 +0000
(10:17 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 25 May 2006 10:17:26 +0000
(10:17 +0000)
SVN-Revision: 3575
src/audio/sound_manager.cpp
patch
|
blob
|
history
diff --git
a/src/audio/sound_manager.cpp
b/src/audio/sound_manager.cpp
index
fd1be4f
..
6905621
100644
(file)
--- a/
src/audio/sound_manager.cpp
+++ b/
src/audio/sound_manager.cpp
@@
-35,7
+35,7
@@
SoundManager* sound_manager = 0;
SoundManager::SoundManager()
: device(0), context(0), sound_enabled(false), music_source(0),
- music_enabled(
tru
e)
+ music_enabled(
fals
e)
{
try {
device = alcOpenDevice(0);
@@
-51,6
+51,7
@@
SoundManager::SoundManager()
check_al_error("Audio error after init: ");
sound_enabled = true;
+ music_enabled = true;
} catch(std::exception& e) {
if(context != NULL)
alcDestroyContext(context);