Version 4.4.1

This commit is contained in:
Gary Scavone
2013-09-29 23:12:27 +02:00
committed by Stephen Sinclair
parent eccd8c9981
commit b6a2202011
16 changed files with 117 additions and 37 deletions

View File

@@ -260,7 +260,7 @@ StkFloat Granulate :: tick( unsigned int channel )
// Accumulate the grain outputs.
if ( grains_[i].state > 0 ) {
for ( j=0; j<nChannels; j++ ) {
sample = data_[ nChannels * grains_[i].pointer + j ];
sample = data_[ nChannels * grains_[i].pointer + j ];
if ( grains_[i].state == GRAIN_FADEIN || grains_[i].state == GRAIN_FADEOUT ) {
sample *= grains_[i].eScaler;