mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user