disable keyboard repeat on Windows

add some TinyAudio classes to play wav, mostly from Stk (http://github.com/thestk/stk)
This commit is contained in:
Erwin Coumans
2017-04-26 21:31:01 -07:00
parent 8cc1f51862
commit 943dd16e78
18 changed files with 1452 additions and 57 deletions

View File

@@ -11,6 +11,18 @@ public:
virtual ~b3SoundSource();
virtual bool computeSamples(double *sampleBuffer, int numSamples, double sampleRate);
int getNumOscillators() const;
void setOscillatorType(int oscillatorIndex, int type);
void setOscillatorFrequency(int oscillatorIndex, double frequency);
void setOscillatorAmplitude(int oscillatorIndex, double amplitude);
void setOscillatorPhase(int oscillatorIndex, double phase);
bool setWavFile(int oscillatorIndex, const char* fileName, int sampleRate);
void startSound();
void stopSound();
};
#endif //B3_SOUND_SOURCE_H