diff options
author | Simon Howard | 2009-09-30 23:07:03 +0000 |
---|---|---|
committer | Simon Howard | 2009-09-30 23:07:03 +0000 |
commit | 410579ec66f7df8757cb980c0a78e3161b7f20d5 (patch) | |
tree | de78df18ecc96327446f554991fad708a84b7ecb /src/i_pcsound.c | |
parent | 42f7a9b8a27ae1192b49005f5be3eba32f740d05 (diff) | |
download | chocolate-doom-410579ec66f7df8757cb980c0a78e3161b7f20d5.tar.gz chocolate-doom-410579ec66f7df8757cb980c0a78e3161b7f20d5.tar.bz2 chocolate-doom-410579ec66f7df8757cb980c0a78e3161b7f20d5.zip |
Change British English spellings to American English, for consistency.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
Diffstat (limited to 'src/i_pcsound.c')
-rw-r--r-- | src/i_pcsound.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/i_pcsound.c b/src/i_pcsound.c index c2c77fe7..dce7f2b6 100644 --- a/src/i_pcsound.c +++ b/src/i_pcsound.c @@ -37,7 +37,7 @@ #include "pcsound.h" -static boolean pcs_initialised = false; +static boolean pcs_initialized = false; static SDL_mutex *sound_lock; @@ -151,7 +151,7 @@ static int I_PCS_StartSound(int id, { int result; - if (!pcs_initialised) + if (!pcs_initialized) { return -1; } @@ -192,7 +192,7 @@ static int I_PCS_StartSound(int id, static void I_PCS_StopSound(int handle) { - if (!pcs_initialised) + if (!pcs_initialized) { return; } @@ -229,7 +229,7 @@ static int I_PCS_GetSfxLumpNum(sfxinfo_t* sfx) static boolean I_PCS_SoundIsPlaying(int handle) { - if (!pcs_initialised) + if (!pcs_initialized) { return false; } @@ -248,21 +248,21 @@ static boolean I_PCS_InitSound(void) PCSound_SetSampleRate(snd_samplerate); - // Initialise the PC speaker subsystem. + // Initialize the PC speaker subsystem. - pcs_initialised = PCSound_Init(PCSCallbackFunc); + pcs_initialized = PCSound_Init(PCSCallbackFunc); - if (pcs_initialised) + if (pcs_initialized) { sound_lock = SDL_CreateMutex(); } - return pcs_initialised; + return pcs_initialized; } static void I_PCS_ShutdownSound(void) { - if (pcs_initialised) + if (pcs_initialized) { PCSound_Shutdown(); } |