QTfrontend/SDLs.h
changeset 2210 1cb7118a77dd
parent 2194 1597710c6118
child 2216 82e7da49c26a
--- a/QTfrontend/SDLs.h	Mon Jun 29 00:58:32 2009 +0000
+++ b/QTfrontend/SDLs.h	Mon Jun 29 03:47:39 2009 +0000
@@ -21,18 +21,18 @@
 
 #include <QStringList>
 
-extern	"C" int		openal_init			(int);
-extern	"C" int		openal_close		(void);
-extern	"C" int		openal_loadfile		(const char*);
-extern	"C" int		openal_toggleloop	(int);
-extern	"C" int		openal_setvolume	(int, unsigned char);
-extern	"C" int		openal_setglobalvolume	(unsigned char);
-extern  "C" int		openal_togglemute	(void);
-extern	"C" int		openal_fadeout		(int, unsigned int);
-extern	"C" int		openal_fadein		(int, unsigned int);
-extern	"C" int		openal_playsound 	(int);
-extern	"C" int		openal_stopsound	(int);
-extern	"C" int		openal_pausesound	(int);
+extern "C" int openal_init		(int memorysize);
+extern "C" int openal_close		(void);
+extern "C" int openal_loadfile		(const char *filename);
+extern "C" int openal_toggleloop	(int index);
+extern "C" int openal_setvolume		(int index, unsigned char percentage);
+extern "C" int openal_setglobalvolume	(unsigned char percentage);
+extern "C" int openal_togglemute	(void);
+extern "C" int openal_fadeout		(int index, unsigned int quantity);
+extern "C" int openal_fadein		(int index, unsigned int quantity);
+extern "C" int openal_playsound 	(int index);
+extern "C" int openal_stopsound		(int index);
+extern "C" int openal_pausesound	(int index);
 
 class SDLInteraction : public QObject
 {