*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@532 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-07 21:59:36 +00:00
parent 999c4ffce4
commit 38e61e3a95
+4 -3
View File
@@ -7,7 +7,7 @@
//#endif
VARP(soundvol, 0, 255, 255);
bool nosound = false;
bool nosound = true;
#define MAXCHAN 32
#define SOUNDFREQ 22050
@@ -74,7 +74,7 @@ void initsound()
if(Mix_OpenAudio(SOUNDFREQ, MIX_DEFAULT_FORMAT, 2, soundbufferlen)<0)
{
conoutf("sound init failed (SDL_mixer): %s", (size_t)Mix_GetError());
nosound = true;
return;
};
Mix_AllocateChannels(MAXCHAN);
#else
@@ -82,9 +82,10 @@ void initsound()
if(!FSOUND_Init(SOUNDFREQ, MAXCHAN, FSOUND_INIT_GLOBALFOCUS))
{
conoutf("sound init failed (FMOD): %d", FSOUND_GetError());
nosound = true;
return;
};
#endif
nosound = false;
};
void music(char *name)