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:
29
examples/TinyAudio/b3SoundEngine.h
Normal file
29
examples/TinyAudio/b3SoundEngine.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef B3_SOUND_ENGINE_H
|
||||
#define B3_SOUND_ENGINE_H
|
||||
|
||||
#include "Bullet3Common/b3Scalar.h"
|
||||
|
||||
class b3SoundEngine
|
||||
{
|
||||
struct b3SoundEngineInternalData* m_data;
|
||||
|
||||
public:
|
||||
|
||||
b3SoundEngine();
|
||||
virtual ~b3SoundEngine();
|
||||
|
||||
void init();
|
||||
void exit();
|
||||
|
||||
//int createListener();
|
||||
|
||||
void addSoundSource(class b3SoundSource* source);
|
||||
void removeSoundSource(class b3SoundSource* source);
|
||||
|
||||
int loadWavFile(const char* fileName);
|
||||
|
||||
double getSampleRate() const;
|
||||
|
||||
};
|
||||
|
||||
#endif //B3_SOUND_ENGINE_H
|
||||
Reference in New Issue
Block a user