diff options
author | Simon Howard | 2006-10-18 00:51:11 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-18 00:51:11 +0000 |
commit | 7bd51fba5891163c6b0e615b4e010c692f792475 (patch) | |
tree | a5a2a70d8fd4e8684f97d9e88cb75c4a11d43661 /src/i_sound.c | |
parent | 058f7712fabe3d72939765f652b6b93614b478cd (diff) | |
download | chocolate-doom-7bd51fba5891163c6b0e615b4e010c692f792475.tar.gz chocolate-doom-7bd51fba5891163c6b0e615b4e010c692f792475.tar.bz2 chocolate-doom-7bd51fba5891163c6b0e615b4e010c692f792475.zip |
Strip out CVS logs, RCS Id tags.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 704
Diffstat (limited to 'src/i_sound.c')
-rw-r--r-- | src/i_sound.c | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/src/i_sound.c b/src/i_sound.c index 61ec13c5..5bc9d109 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -1,8 +1,6 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_sound.c 649 2006-09-21 21:49:26Z fraggle $ -// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard // @@ -21,114 +19,11 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. // -// $Log$ -// Revision 1.27 2006/01/23 01:40:24 fraggle -// Fix bug when expanding large sound effects with odd sample rates -// -// Revision 1.26 2006/01/22 21:20:20 fraggle -// Dehacked string replacements for sound and music lump names -// -// Revision 1.25 2006/01/10 22:14:13 fraggle -// Shut up compiler warnings -// -// Revision 1.24 2006/01/08 17:51:53 fraggle -// Add S_MusicPlaying function to query if music is still playing. -// -// Revision 1.23 2006/01/07 16:26:50 fraggle -// Fix the behavior when expanding sound effects (again). Doom actually -// does play sounds of any sample rate, but the sound effects in -// Scientist 2 are corrupted. Add some tests to check that the sound -// effect header is correct, and generic sound rate conversion code. -// -// Revision 1.22 2005/10/23 18:39:45 fraggle -// Reproduce the behavior when playing a sound at a sample rate which -// is not 11025 or 22050Hz. This is to "fix" a bug in Scientist 2: -// however, it does not fix the playing of sounds, only silence -// them. I tested Vanilla Doom and this is how it behaves when it -// receives sound effects with odd sample rates. The bug here is -// actually in the Scientist 2 WAD, which has sound effects that -// have the wrong sample rate. -// -// Revision 1.21 2005/10/15 16:58:31 fraggle -// Fix MIDI music not pausing when using SDL_mixer's native MIDI playback. -// The SDL_mixer native MIDI code does not pause music properly - use -// a workaround of setting the volume to 0. -// -// Revision 1.20 2005/10/02 20:23:04 fraggle -// Guard against music lumps containing non-MUS data, document in bugs list -// -// Revision 1.19 2005/09/11 23:57:08 fraggle -// Remove temporary MIDI files generated by sound code. -// -// Revision 1.18 2005/09/11 20:53:17 fraggle -// Fix sounds playing at the wrong volume (too quiet) -// -// Revision 1.17 2005/09/07 22:24:26 fraggle -// Modify the sound effect caching behaviour: sounds which are not playing -// are now marked as PU_CACHE; it is otherwise possible to run out of memory. -// -// Revision 1.16 2005/09/06 22:39:43 fraggle -// Restore -nosound, -nosfx, -nomusic -// -// Revision 1.15 2005/09/06 21:40:28 fraggle -// Setting music volume -// -// Revision 1.14 2005/09/06 21:11:23 fraggle -// Working music! -// -// Revision 1.13 2005/09/05 22:50:56 fraggle -// Add mmus2mid code from prboom. Use 'void *' for music handles. Pass -// length of data when registering music. -// -// Revision 1.12 2005/09/05 21:03:43 fraggle -// 16-bit sound -// -// Revision 1.11 2005/09/05 20:32:18 fraggle -// Use the system-nonspecific sound code to assign the channel number used -// by SDL. Remove handle tagging stuff. -// -// Revision 1.10 2005/08/19 21:55:51 fraggle -// Make sounds louder. Use the correct maximum of 15 when doing sound -// calculations. -// -// Revision 1.9 2005/08/07 19:21:01 fraggle -// Cycle round sound channels to stop reuse and conflicts of channel -// numbers. Add debug to detect when incorrect sound handles are used. -// -// Revision 1.8 2005/08/06 17:05:51 fraggle -// Remove debug messages, send error messages to stderr -// Fix overflow when playing large sound files -// -// Revision 1.7 2005/08/05 17:53:07 fraggle -// More sensible defaults -// -// Revision 1.6 2005/08/04 21:48:32 fraggle -// Turn on compiler optimisation and warning options -// Add SDL_mixer sound code -// -// Revision 1.5 2005/07/23 21:32:47 fraggle -// Add missing errno.h, fix crash on startup when no IWAD present -// -// Revision 1.4 2005/07/23 19:17:11 fraggle -// Use ANSI-standard limit constants. Remove LINUX define. -// -// Revision 1.3 2005/07/23 17:21:35 fraggle -// Remove step table (unused, adds dependency on pow function) -// -// Revision 1.2 2005/07/23 16:44:55 fraggle -// Update copyright to GNU GPL -// -// Revision 1.1.1.1 2005/07/23 16:20:46 fraggle -// Initial import -// -// // DESCRIPTION: // System interface for sound. // //----------------------------------------------------------------------------- -static const char -rcsid[] = "$Id: i_sound.c 649 2006-09-21 21:49:26Z fraggle $"; #include <stdio.h> #include <stdlib.h> |