Fixed fading

CQTexperiment
Chris Moeller 2013-10-05 15:47:35 -07:00
parent 74b6188772
commit 7a4e297828
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ int callbackLoop(void *data)
}
if ( loops >= 2 ) {
float * sampleBuf = ( float * ) buf;
float * sampleBuf = ( float * ) buf + total * 2;
long fadeEnd = fadeRemain - rendered;
if ( fadeEnd < 0 )
fadeEnd = 0;