warzone2100/lib/sound
Giel van Schijndel 6268b6fff2 * Don't allocate memory in PlayList_Init() while we don't need it yet
* Make sure to set '''global''' pointers to NULL when free()ing them
 * Also set the "size" variables belonging to these pointers to zero
* Use a swap(a, b) style function for variable swapping (in PlayList_Shuffle()) rather than obfuscating code
* Make sure that PlayList_CurrentSong() and PlayList_NextSong() return "const char*" rather than "char*" to make sure no one touches memory he/she shouldn't
* Some general changes to conform with coding style (most notably: braces on a line of their own)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2712 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-04 16:14:24 +00:00
..
Makefile.am * move OggVorbis decoding functionality to oggvorbis.[ch] 2007-04-30 17:58:27 +00:00
Makefile.raw * move OggVorbis decoding functionality to oggvorbis.[ch] 2007-04-30 17:58:27 +00:00
aud.h * remove unused function audio_Get2DPlayerRotAboutVerticalAxis 2007-06-24 21:11:43 +00:00
audio.c * In audio_StopAll() __always__ set psSample->psObj to NULL; this should fix bug #9233 (and bug #9927, which most likely is a duplicate, as well) 2007-11-03 02:07:25 +00:00
audio.h * Make audio_SetTrackVals return the track ID number rather than write it into a pointer given as parameter (failure is now indicated by a zero value instead; non-zero indicates success) 2007-07-13 23:39:40 +00:00
audio_id.c * Don't use (void) as parameter list for the function implementation (this is only required for function declarations, not implementations) 2007-07-13 23:25:29 +00:00
audio_id.h * Don't use (void) as parameter list for the function implementation (this is only required for function declarations, not implementations) 2007-07-13 23:25:29 +00:00
cdaudio.c * Clean up some of the playlist code: 2007-11-04 15:24:37 +00:00
cdaudio.h * Utilize OggVorbis decoding function from oggvorbis.[ch] instead of own implementation 2007-05-01 01:08:48 +00:00
mixer.h * Rename functions 2007-06-25 18:09:38 +00:00
oggvorbis.c Some more 64bit safety: 2007-06-06 18:49:57 +00:00
oggvorbis.h * Allow compilation without sound; when used this eliminates the compile & link time requirement of libvorbisfile, libvorbis, libogg and libopenal 2007-06-06 17:09:23 +00:00
openal_track.c * Use spaces for line-out purposes (rather than tabs) 2007-11-02 22:37:20 +00:00
playlist.c * Don't allocate memory in PlayList_Init() while we don't need it yet 2007-11-04 16:14:24 +00:00
playlist.h * Don't allocate memory in PlayList_Init() while we don't need it yet 2007-11-04 16:14:24 +00:00
track.c * Replace a _lot_ of strcpy(), strcat() and sprintf() calls with the safer strncpy(), strncat() and snprintf() respectively 2007-10-24 21:11:29 +00:00
track.h * Use spaces for line-out purposes (rather than tabs) 2007-11-02 22:37:20 +00:00
tracklib.h Actually use audio.cfg configuration of sound volume. Patch by Buginator in patch #822 2007-11-02 18:47:22 +00:00