From d823091446b6df18dae8968364c7a217a67701b2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 30 Jan 2020 08:21:57 -0800 Subject: [PATCH] Update a couple comments about monoized sounds --- src/sound/backend/i_sound.h | 1 - src/sound/s_sound.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sound/backend/i_sound.h b/src/sound/backend/i_sound.h index 851a165b27..e0a585cfa4 100644 --- a/src/sound/backend/i_sound.h +++ b/src/sound/backend/i_sound.h @@ -107,7 +107,6 @@ public: virtual bool IsNull() { return false; } virtual void SetSfxVolume (float volume) = 0; virtual void SetMusicVolume (float volume) = 0; - // Returns a pair containing a sound handle and a boolean indicating the sound can be used in 3D. virtual SoundHandle LoadSound(uint8_t *sfxdata, int length, FSoundLoadBuffer *pBuffer = nullptr) = 0; SoundHandle LoadSoundVoc(uint8_t *sfxdata, int length); virtual SoundHandle LoadSoundRaw(uint8_t *sfxdata, int length, int frequency, int channels, int bits, int loopstart, int loopend = -1) = 0; diff --git a/src/sound/s_sound.cpp b/src/sound/s_sound.cpp index 99b8ff0738..b5e3840c9f 100644 --- a/src/sound/s_sound.cpp +++ b/src/sound/s_sound.cpp @@ -787,7 +787,7 @@ void SoundEngine::LoadSound3D(sfxinfo_t *sfx, FSoundLoadBuffer *pBuffer) if(sfx->data.isValid()) return; - //DPrintf(DMSG_NOTIFY, "Loading monoized sound \"%s\" (%td)\n", sfx->name.GetChars(), sfx - &S_sfx[0]); + //DPrintf(DMSG_NOTIFY, "Loading sound \"%s\" (%td)\n", sfx->name.GetChars(), sfx - &S_sfx[0]); if (pBuffer->mBuffer.size() > 0) {