Version 4.4.4

This commit is contained in:
Gary Scavone
2013-09-29 23:22:28 +02:00
committed by Stephen Sinclair
parent 0aec39260a
commit fc877b87bf
233 changed files with 9035 additions and 5800 deletions

View File

@@ -19,7 +19,7 @@
type who should worry about this (making
money) worry away.
by Perry R. Cook and Gary P. Scavone, 1995-2011.
by Perry R. Cook and Gary P. Scavone, 1995-2012.
*/
/***************************************************/
@@ -105,11 +105,7 @@ void FM :: setFrequency( StkFloat frequency )
void FM :: setRatio( unsigned int waveIndex, StkFloat ratio )
{
if ( waveIndex < 0 ) {
oStream_ << "FM::setRatio: waveIndex parameter is less than zero!";
handleError( StkError::WARNING ); return;
}
else if ( waveIndex >= nOperators_ ) {
if ( waveIndex >= nOperators_ ) {
oStream_ << "FM:setRatio: waveIndex parameter is greater than the number of operators!";
handleError( StkError::WARNING ); return;
}
@@ -123,11 +119,7 @@ void FM :: setRatio( unsigned int waveIndex, StkFloat ratio )
void FM :: setGain( unsigned int waveIndex, StkFloat gain )
{
if ( waveIndex < 0 ) {
oStream_ << "FM::setGain: waveIndex parameter is less than zero!";
handleError( StkError::WARNING ); return;
}
else if ( waveIndex >= nOperators_ ) {
if ( waveIndex >= nOperators_ ) {
oStream_ << "FM::setGain: waveIndex parameter is greater than the number of operators!";
handleError( StkError::WARNING ); return;
}