diff options
Diffstat (limited to 'src/s_sound.c')
-rw-r--r-- | src/s_sound.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/s_sound.c b/src/s_sound.c index 0692db9b..90b8ac06 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: s_sound.c 39 2005-08-04 21:48:32Z fraggle $ +// $Id: s_sound.c 73 2005-09-05 20:32:18Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.5 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.4 2005/08/04 21:48:32 fraggle // Turn on compiler optimisation and warning options // Add SDL_mixer sound code @@ -42,7 +46,7 @@ static const char -rcsid[] = "$Id: s_sound.c 39 2005-08-04 21:48:32Z fraggle $"; +rcsid[] = "$Id: s_sound.c 73 2005-09-05 20:32:18Z fraggle $"; @@ -387,11 +391,11 @@ S_StartSoundAtVolume // increase the usefulness if (sfx->usefulness++ < 0) sfx->usefulness = 1; - + // Assigns the handle to one of the channels in the // mix/output buffer. channels[cnum].handle = I_StartSound(sfx_id, - /*sfx->data,*/ + cnum, volume, sep, pitch, |