mirror of
https://github.com/thestk/stk
synced 2026-04-22 23:44:36 +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 ) {
|
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;
|
handleError( StkError::WARNING ); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user