Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Stk::showWarnings() via LMMS_DEBUG #3309

Merged
merged 1 commit into from
Jan 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions plugins/stk/mallets/mallets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,10 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
Stk::setSampleRate( _sample_rate );
Stk::setRawwavePath( QDir( ConfigManager::inst()->stkDir() ).absolutePath()
.toLatin1().constData() );
#ifndef LMMS_DEBUG
Stk::showWarnings( false );

#endif

m_voice = new ModalBar();

m_voice->controlChange( 16, _control16 );
Expand Down Expand Up @@ -668,8 +670,10 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
Stk::setSampleRate( _sample_rate );
Stk::setRawwavePath( QDir( ConfigManager::inst()->stkDir() ).absolutePath()
.toLatin1().constData() );
#ifndef LMMS_DEBUG
Stk::showWarnings( false );

#endif

m_voice = new TubeBell();

m_voice->controlChange( 1, _control1 );
Expand Down Expand Up @@ -714,7 +718,9 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
Stk::setSampleRate( _sample_rate );
Stk::setRawwavePath( QDir( ConfigManager::inst()->stkDir() ).absolutePath()
.toLatin1().constData() );
#ifndef LMMS_DEBUG
Stk::showWarnings( false );
#endif

m_voice = new BandedWG();

Expand Down