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 in mandolin.cpp was going to cerr instead of oStream_
This commit is contained in:
@@ -75,7 +75,7 @@ void Mandolin :: clear( void )
|
||||
void Mandolin :: setPluckPosition( StkFloat position )
|
||||
{
|
||||
if ( position < 0.0 || position > 1.0 ) {
|
||||
std::cerr << "Mandolin::setPluckPosition: position parameter out of range!";
|
||||
oStream_ << "Mandolin::setPluckPosition: position parameter out of range!";
|
||||
handleError( StkError::WARNING ); return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user