mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 09:22:43 +00:00
add a comment about the valid range of samples
This commit is contained in:
parent
397312b54b
commit
adee45d22b
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ snd_jack_xfer (int endtime)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
|
/* max is +/- 1.0. need to implement clamping. */
|
||||||
*output[0]++ = 0.25 * snd_paintbuffer[i].left / 65536.0;
|
*output[0]++ = 0.25 * snd_paintbuffer[i].left / 65536.0;
|
||||||
*output[1]++ = 0.25 * snd_paintbuffer[i].right / 65536.0;
|
*output[1]++ = 0.25 * snd_paintbuffer[i].right / 65536.0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue