redirect non-conforming writes to cerr to oStream_

One error message was going to cerr instead of oStream_ in resonate.cpp
This commit is contained in:
rhenninger
2016-09-11 13:51:10 -04:00
committed by GitHub
parent 5dd605ecfd
commit e03aa486dd

View File

@@ -56,7 +56,7 @@ void Resonate :: setResonance( StkFloat frequency, StkFloat radius )
}
if ( radius < 0.0 || radius >= 1.0 ) {
std::cerr << "Resonate::setResonance: radius parameter is out of range!";
oStream_ << "Resonate::setResonance: radius parameter is out of range!";
handleError( StkError::WARNING ); return;
}