create basic audio, towards sound sensors etc.

This commit is contained in:
Erwin Coumans
2017-04-14 12:22:38 -07:00
parent fec96ab17f
commit eef76af663
11 changed files with 11788 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#ifndef B3_SOUND_SOURCE_H
#define B3_SOUND_SOURCE_H
class b3SoundSource
{
struct b3SoundSourceInternalData* m_data;
public:
b3SoundSource();
virtual ~b3SoundSource();
virtual bool computeSamples(double *sampleBuffer, int numSamples, double sampleRate);
};
#endif //B3_SOUND_SOURCE_H