remove the goto's from the source code (came from http://github.com/thestk/stk toolkit)

add test wav file
This commit is contained in:
Erwin Coumans
2017-04-27 08:39:57 -07:00
parent 72d5366a92
commit dfc1800065
5 changed files with 63 additions and 43 deletions

View File

@@ -41,11 +41,13 @@ public:
m_soundSource->setOscillatorAmplitude(0,1);
m_soundSource->setOscillatorAmplitude(1,1);
m_soundEngine.addSoundSource(m_soundSource);
m_soundSource->startSound();
m_soundSource->stopSound();
}
virtual void exitPhysics()
{
m_soundEngine.exit();
}
@@ -91,6 +93,7 @@ public:
if (state==1)
{
m_soundSource->startSound();
}