diff -Naur openal-0.2004090900/beos/include/AL/al.h openal-0.2004090900-haiku/beos/include/AL/al.h
|
old
|
new
|
|
| 43 | 43 | */ |
| 44 | 44 | |
| 45 | 45 | ALAPI ALvoid ALAPIENTRY alInit(ALint *argc,ALubyte **argv); |
| 46 | | ALAPI ALvoid ALAPIENTRY alExit(ALvoid); |
| | 46 | ALAPI ALvoid ALAPIENTRY alExit(void); |
| 47 | 47 | |
| 48 | 48 | /** State management. */ |
| 49 | 49 | ALAPI void ALAPIENTRY alEnable( ALenum capability ); |
diff -Naur openal-0.2004090900/beos/samples/Makefile openal-0.2004090900-haiku/beos/samples/Makefile
|
old
|
new
|
|
| 4 | 4 | |
| 5 | 5 | CC = gcc |
| 6 | 6 | CFLAGS = -I../include -O2 -Wall |
| 7 | | LIBS = -L$(HOME)/config/lib -lAL -lGL -lglut |
| | 7 | LIBS = -L$(HOME)/config/lib -lopenal -lGL -lglut |
| 8 | 8 | |
| 9 | 9 | TARGETS = panning xldemo |
| 10 | 10 | |
diff -Naur openal-0.2004090900/beos/src/Context.h openal-0.2004090900-haiku/beos/src/Context.h
|
old
|
new
|
|
| 25 | 25 | #include "Types.h" |
| 26 | 26 | |
| 27 | 27 | |
| 28 | | ALvoid alimInit(ALvoid); |
| | 28 | ALvoid alimInit(void); |
| 29 | 29 | |
| 30 | | ALvoid alimExit(ALvoid); |
| | 30 | ALvoid alimExit(void); |
| 31 | 31 | |
| 32 | | ALcontext *alimGetCurrent(ALvoid); |
| | 32 | ALcontext *alimGetCurrent(void); |
| 33 | 33 | |
| 34 | 34 | ALvoid alimMakeCurrent(ALcontext *context); |
| 35 | 35 | |
diff -Naur openal-0.2004090900/beos/src/Main.c openal-0.2004090900-haiku/beos/src/Main.c
|
old
|
new
|
|
| 37 | 37 | alimInit(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | | ALAPI ALvoid ALAPIENTRY alExit(ALvoid) |
| | 40 | ALAPI ALvoid ALAPIENTRY alExit(void) |
| 41 | 41 | { |
| 42 | 42 | alimExit(); |
| 43 | 43 | } |
diff -Naur openal-0.2004090900/beos/src/Makefile openal-0.2004090900-haiku/beos/src/Makefile
|
old
|
new
|
|
| 21 | 21 | # Boston, MA 02111-1307, USA. |
| 22 | 22 | # |
| 23 | 23 | |
| 24 | | NAME = libAL.so |
| | 24 | NAME = libopenal.so |
| 25 | 25 | TYPE = SHARED |
| 26 | 26 | |
| 27 | 27 | WARNINGS = ALL |
| … |
… |
|
| 37 | 37 | Thread.c Player.cpp |
| 38 | 38 | |
| 39 | 39 | include /boot/develop/etc/makefile-engine |
| 40 | | |
| 41 | | install: $(TARGET) |
| 42 | | cp $(TARGET) $(HOME)/config/lib/$(NAME) |
diff -Naur openal-0.2004090900/beos/src/Player.cpp openal-0.2004090900-haiku/beos/src/Player.cpp
|
old
|
new
|
|
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | | ALvoid alimInitApplication(ALvoid) |
| | 43 | ALvoid alimInitApplication(void) |
| 44 | 44 | { |
| 45 | 45 | if (be_app == NULL) |
| 46 | 46 | be_app = new BApplication("application/x-vnd.openal.player"); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | | ALvoid alimExitApplication(ALvoid) |
| | 49 | ALvoid alimExitApplication(void) |
| 50 | 50 | { |
| 51 | 51 | } |
| 52 | 52 | |
diff -Naur openal-0.2004090900/beos/src/Player.h openal-0.2004090900-haiku/beos/src/Player.h
|
old
|
new
|
|
| 24 | 24 | |
| 25 | 25 | #include "Types.h" |
| 26 | 26 | |
| 27 | | ALvoid alimInitApplication(ALvoid); |
| | 27 | ALvoid alimInitApplication(void); |
| 28 | 28 | |
| 29 | | ALvoid alimExitApplication(ALvoid); |
| | 29 | ALvoid alimExitApplication(void); |
| 30 | 30 | |
| 31 | 31 | ALplayer *alimCreatePlayer(ALuint frequency, ALenum format, ALsizei size); |
| 32 | 32 | |
diff -Naur openal-0.2004090900/beos/src/State.h openal-0.2004090900-haiku/beos/src/State.h
|
old
|
new
|
|
| 24 | 24 | |
| 25 | 25 | #include "Types.h" |
| 26 | 26 | |
| 27 | | ALstate *alimCreateState(ALvoid); |
| | 27 | ALstate *alimCreateState(void); |
| 28 | 28 | |
| 29 | 29 | ALvoid alimDeleteState(ALstate *state); |
| 30 | 30 | |
diff -Naur openal-0.2004090900/beos/src/Thread.h openal-0.2004090900-haiku/beos/src/Thread.h
|
old
|
new
|
|
| 26 | 26 | |
| 27 | 27 | typedef struct ALmutex ALmutex; |
| 28 | 28 | |
| 29 | | ALuint alimCreateTLS(ALvoid); |
| | 29 | ALuint alimCreateTLS(void); |
| 30 | 30 | |
| 31 | 31 | ALvoid alimDeleteTLS(ALuint handle); |
| 32 | 32 | |
| … |
… |
|
| 34 | 34 | |
| 35 | 35 | ALvoid *alimGetTLS(ALuint handle); |
| 36 | 36 | |
| 37 | | ALmutex *alimCreateMutex(ALvoid); |
| | 37 | ALmutex *alimCreateMutex(void); |
| 38 | 38 | |
| 39 | 39 | ALvoid alimDeleteMutex(ALmutex *mutex); |
| 40 | 40 | |