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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user