]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added some commented out code that can make a log of stereo wav sounds loaded
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 May 2005 12:52:07 +0000 (12:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 May 2005 12:52:07 +0000 (12:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5227 d7cf8633-e32d-0410-b094-e92efae38249

snd_wav.c

index 3904df5022af1ad52edd48f54d9ea7cfed07afa1..ff4bb4069f3c56845ef279e8cdf3358a8433006b 100644 (file)
--- a/snd_wav.c
+++ b/snd_wav.c
@@ -269,6 +269,8 @@ qboolean S_LoadWavFile (const char *filename, sfx_t *s)
                Mem_FreePool (&s->mempool);
                return false;
        }
+       //if (info.channels == 2)
+       //      Log_Printf("stereosounds.log", "%s\n", s->name);
 
        // calculate resampled length
        len = (int) ((double) info.samples * (double) shm->format.speed / (double) info.rate);