ref: 738da515a5004b555553e95e0fe9af2317badf36
parent: 4bce23ff8c40c917c5f6b3524db173611aa0f746
author: Jonathan Dowland <[email protected]>
date: Sun Jun 21 12:49:47 EDT 2015
Miscellaneous whitespace/formatting clean-ups Just in drive-by whilst working on something else.
--- a/src/doom/s_sound.c
+++ b/src/doom/s_sound.c
@@ -438,7 +438,7 @@
if (origin->x == players[consoleplayer].mo->x
&& origin->y == players[consoleplayer].mo->y)
- {
+ {
sep = NORM_SEP;
}
@@ -446,7 +446,7 @@
{
return;
}
- }
+ }
else
{
sep = NORM_SEP;
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -875,7 +875,7 @@
if (!LockSound(sfxinfo))
{
- return -1;
+ return -1;
}
snd = sfxinfo->driver_data;
@@ -887,7 +887,7 @@
channels_playing[channel] = sfxinfo;
// set separation, etc.
-
+
I_SDL_UpdateSoundParams(channel, vol, sep);
return channel;
@@ -919,7 +919,7 @@
return Mix_Playing(handle);
}
-//
+//
// Periodically called to update the sound system
//
@@ -935,7 +935,7 @@
{
// Sound has finished playing on this channel,
// but sound data has not been released to cache
-
+
ReleaseSoundOnChannel(i);
}
}
@@ -942,7 +942,7 @@
}
static void I_SDL_ShutdownSound(void)
-{
+{
if (!sound_initialized)
{
return;
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -345,7 +345,7 @@
{
if (sound_module != NULL && sound_module->CacheSounds != NULL)
{
- sound_module->CacheSounds(sounds, num_sounds);
+ sound_module->CacheSounds(sounds, num_sounds);
}
}