misc/libopenalbridge/openalbridge.h
changeset 3532 04e2fea3e83a
parent 3529 0e968ba12a84
child 3533 03892fb97ab3
--- a/misc/libopenalbridge/openalbridge.h	Mon Jun 21 22:18:53 2010 +0200
+++ b/misc/libopenalbridge/openalbridge.h	Mon Jun 21 22:45:52 2010 +0200
@@ -27,7 +27,7 @@
 #endif
 
     // init audio context and allocate memory
-    int openal_init               (int memorysize);
+    int openal_init               (void);
 
     // close audio subsytem and free memory
     void openal_close             (void);
@@ -38,7 +38,9 @@
     // load an audio file into memory and map it to abuffer
     int  openal_loadfile          (const char *filename);
 
-
+    // unloads data from memory and marks a free spot
+    int  openal_unloadfile        (unsigned int index)
+    
     /******* other functions continue in commands.h *******/
     
 #ifdef __CPLUSPLUS