diff options
author | Simon Howard | 2009-10-01 01:10:17 +0000 |
---|---|---|
committer | Simon Howard | 2009-10-01 01:10:17 +0000 |
commit | 06c73f7a43b0b569c63fb1153e9f8da25f3ddfb7 (patch) | |
tree | 91532a8428caeba2c2ba3ba21b8299a5dfad79a5 /src/i_pcsound.c | |
parent | 4a70f989d2aacabffc2f02017704de042be7418a (diff) | |
parent | 508c3fd3fa5b3149d329e15ea3e072ad2a7aa2f2 (diff) | |
download | chocolate-doom-06c73f7a43b0b569c63fb1153e9f8da25f3ddfb7.tar.gz chocolate-doom-06c73f7a43b0b569c63fb1153e9f8da25f3ddfb7.tar.bz2 chocolate-doom-06c73f7a43b0b569c63fb1153e9f8da25f3ddfb7.zip |
Merge from trunk.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1702
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(); } |