[Super-tux-devel] stereo sound patch
Brought to you by:
wkendrick
From: Duong-Khang N. <neo...@us...> - 2003-12-28 16:15:17
|
Changes, Fixes, Adds: 1. PLEASE keep spaces & empty lines while patching CVS since I used them to improve sources reading ! 2. Adds: Stereo sound effects. In "gameloop.c" the kicked laptop now produces stereo sound depending on the position of SuperTux 3. Changes: "play_sound( Mix_Chunk * snd)" now is "play_sound( Mix_Chunk * snd, enum Sound_Speaker whichSpeaker )" where whichSpeaker is SOUND_CENTER_SPEAKER, SOUND_LEFT_SPEAKER, SOUND_RIGHT_SPEAKER 4. Adds: "void close_audio(void)". Why has it not been here for a while ? ;-) "st_shutdown()" now calls "close_audio" 5. Bugs report: sometimes, two bad guys get stuck 6. Fixes: "static char * soundfilenames" is no more "static". No warning with "unused variable" is allowed ! 7. modified Makefile 8. added "supertux.h" If it is not in the diff, please look at the attached file -- Never say if I could turn back the time, life is going on ! |