From: havoc Date: Mon, 16 May 2005 03:11:14 +0000 (+0000) Subject: added a commented out Con_Printf for debugging spatialization X-Git-Tag: xonotic-v0.1.0preview~4877 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17dcdb594aec14c423b2788cf811840bf301d089;p=xonotic%2Fdarkplaces.git added a commented out Con_Printf for debugging spatialization git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5304 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_main.c b/snd_main.c index b772db81..cf82a6d7 100644 --- a/snd_main.c +++ b/snd_main.c @@ -515,6 +515,7 @@ void SND_Spatialize(channel_t *ch, qboolean isstatic) // calculate the volumes ch->leftvol = (int) (scale + pan); ch->rightvol = (int) (scale - pan); + //Con_Printf("%f %f %f:%f %f %f:%f %f:%d %d\n", ch->origin[0], ch->origin[1], ch->origin[2], source_vec[0], source_vec[1], source_vec[2], scale, pan, ch->leftvol, ch->rightvol); } // Adjust volume of static sounds