removed the 1/4th volume scaledown on video capture
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Mar 2005 00:22:22 +0000 (00:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Mar 2005 00:22:22 +0000 (00:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5067 d7cf8633-e32d-0410-b094-e92efae38249

snd_mix.c

index 319eebe..2f1a7d4 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -45,11 +45,11 @@ void S_CaptureAVISound(portable_samplepair_t *buf, size_t length)
        // write the sound buffer as little endian 16bit interleaved stereo
        for(i = 0;i < length;i++)
        {
-               n = buf[i].left >> 2; // quiet enough to prevent clipping most of the time
+               n = buf[i].left;
                n = bound(-32768, n, 32767);
                out[i*4+0] = n & 0xFF;
                out[i*4+1] = (n >> 8) & 0xFF;
-               n = buf[i].right >> 2; // quiet enough to prevent clipping most of the time
+               n = buf[i].right;
                n = bound(-32768, n, 32767);
                out[i*4+2] = n & 0xFF;
                out[i*4+3] = (n >> 8) & 0xFF;