shithub: dumb

Download patch

ref: 52a88bedf98d7582e1efda99782534dab0d3f089
parent: c052e6a45599edc6401e3c3b4513d903f6917e92
author: Chris Moeller <[email protected]>
date: Mon Mar 24 14:07:52 EDT 2014

Oops, accidentally made DUMB twice as loud as it should be

--- a/dumb/src/helpers/resampler.c
+++ b/dumb/src/helpers/resampler.c
@@ -627,7 +627,7 @@
         resampler_fill( r );
     if ( r->read_filled < 1 )
         return 0;
-    return (int)(r->buffer_out[ r->read_pos ] * 16777216.0);
+    return (int)(r->buffer_out[ r->read_pos ] * 8388608.0);
 }
 
 void resampler_remove_sample(void *_r)