ac audio architecture refactoring

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3760 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-11-25 22:50:35 +00:00
parent f515200c37
commit 74e1468ee3
25 changed files with 4519 additions and 4184 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ void cleanup(char *msg) // single program exit point;
if(!msg)
{
cleanupclient();
soundcleanup();
audiomgr.soundcleanup();
cleanupserver();
}
SDL_ShowCursor(1);
@@ -595,7 +595,7 @@ int main(int argc, char **argv)
particleinit();
initlog("sound");
initsound();
audiomgr.initsound();
initlog("cfg");
extern void *scoremenu, *teammenu, *ctfmenu, *servmenu, *kickmenu, *banmenu, *forceteammenu, *giveadminmenu, *docmenu, *applymenu;
@@ -697,7 +697,7 @@ int main(int argc, char **argv)
fps = (1000.0f/elapsed+fps*10)/11;
frames++;
updateaudio();
audiomgr.updateaudio();
computeraytable(camera1->o.x, camera1->o.y, dynfov());
if(frames>3)