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

@@ -103,6 +103,7 @@ bool b3SoundSource::computeSamples(double* sampleBuffer, int numSamples, double
{
int frame = 0;
double data = m_data->m_oscillators[osc].m_amplitude * m_data->m_wavFile.tick(frame,&m_data->m_oscillators[osc].m_wavTicker);
samples[osc] += data;
}