remove register keyword

This commit is contained in:
Ariel Elkin
2014-04-05 21:39:57 +01:00
parent 4e90d3ffd2
commit eade52ff5c
6 changed files with 11 additions and 11 deletions

View File

@@ -73,7 +73,7 @@ class BeeThree : public FM
inline StkFloat BeeThree :: tick( unsigned int )
{
register StkFloat temp;
StkFloat temp;
if ( modDepth_ > 0.0 ) {
temp = 1.0 + ( modDepth_ * vibrato_.tick() * 0.1 );

View File

@@ -80,7 +80,7 @@ class FMVoices : public FM
inline StkFloat FMVoices :: tick( unsigned int )
{
register StkFloat temp, temp2;
StkFloat temp, temp2;
temp = gains_[3] * adsr_[3]->tick() * waves_[3]->tick();
temp2 = vibrato_.tick() * modDepth_ * 0.1;

View File

@@ -69,7 +69,7 @@ class HevyMetl : public FM
inline StkFloat HevyMetl :: tick( unsigned int )
{
register StkFloat temp;
StkFloat temp;
temp = vibrato_.tick() * modDepth_ * 0.2;
waves_[0]->setFrequency(baseFrequency_ * (1.0 + temp) * ratios_[0]);

View File

@@ -70,7 +70,7 @@ class PercFlut : public FM
inline StkFloat PercFlut :: tick( unsigned int )
{
register StkFloat temp;
StkFloat temp;
temp = vibrato_.tick() * modDepth_ * 0.2;
waves_[0]->setFrequency(baseFrequency_ * (1.0 + temp) * ratios_[0]);