Commit 3fa71d6d authored by Monty's avatar Monty
Browse files

applied Trac #1548

svn path=/trunk/vorbis/; revision=16224
parent bb75f10e
......@@ -248,7 +248,7 @@ int main(){
float *mono=pcm[i];
for(j=0;j<bout;j++){
#if 1
int val=mono[j]*32767.f;
int val=floor(mono[j]*32767.f+.5f);
#else /* optional dither */
int val=mono[j]*32767.f+drand48()-0.5f;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment