mirror of
https://github.com/thestk/stk
synced 2026-05-02 03:58:38 +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 )
|
void Mandolin :: setPluckPosition( StkFloat position )
|
||||||
{
|
{
|
||||||
if ( position < 0.0 || position > 1.0 ) {
|
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;
|
handleError( StkError::WARNING ); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user