diff options
Diffstat (limited to 'nebu/include/audio/nebu_SourceCopy.h')
-rw-r--r-- | nebu/include/audio/nebu_SourceCopy.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nebu/include/audio/nebu_SourceCopy.h b/nebu/include/audio/nebu_SourceCopy.h new file mode 100644 index 0000000..97ca88a --- /dev/null +++ b/nebu/include/audio/nebu_SourceCopy.h @@ -0,0 +1,24 @@ +#ifndef NEBU_Sound_SourceCopy_H +#define NEBU_Sound_SourceCopy_H + +#include "audio/nebu_Sound.h" +#include "audio/nebu_SoundSystem.h" +#include "audio/nebu_SourceSample.h" +#include "base/nebu_Vector3.h" + +namespace Sound { + class SourceCopy : public Source { + public: + SourceCopy(SourceSample *source) { + _source = source; + + _position = 0; + }; + SourceSample* _source; + virtual int Mix(Uint8 *data, int len); + // protected: + int _position; + }; +} + +#endif |