create basic audio, towards sound sensors etc.
This commit is contained in:
16
examples/TinyAudio/b3SoundSource.h
Normal file
16
examples/TinyAudio/b3SoundSource.h
Normal 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
|
||||
Reference in New Issue
Block a user