]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Engine.cc
moving from SDL_sound to libvorbisfile
[chaz/yoink] / src / Moof / Engine.cc
index 51a3af0f5bfb6d75d71cdaed34cb7bdd9518c3ac..80a203e6989b368a86cb12c0790568fef0bc7b6c 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <SDL/SDL.h>
 #include "fastevents.h"
-#include <SDL/SDL_sound.h>
 #include <AL/alut.h>
 
 #include "Dispatcher.hh"
@@ -68,11 +67,6 @@ public:
                        logError("fast events error: %s", FE_GetError());
                        throw Exception(Exception::SDL_ERROR);
                }
-               if (Sound_Init() == 0)
-               {
-                       logError("sound initialization failed: %s", Sound_GetError());
-                       throw Exception(Exception::SDL_ERROR);
-               }
                alutInit(&argc, argv);
 
                Settings& settings = Settings::getInstance();
@@ -104,7 +98,6 @@ public:
                video.reset();
 
                alutExit();
-               Sound_Quit();
                FE_Quit();
                SDL_Quit();
        }
This page took 0.018581 seconds and 4 git commands to generate.