]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added a commented out Con_Printf for debugging spatialization
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 May 2005 03:11:14 +0000 (03:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 May 2005 03:11:14 +0000 (03:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5304 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index b772db81fd739d6c6cf14f5cf791b59044a87e13..cf82a6d7481094b444391f266e983d3260308391 100644 (file)
@@ -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