N K
/
GaNtroller
a fork of priustroller
Fork of priustroller_current by
debug/debug.h
- Committer:
- bwang
- Date:
- 2015-05-02
- Revision:
- 53:ef62d7a958f2
- Parent:
- 24:f1ff9c7256b5
File content as of revision 53:ef62d7a958f2:
#ifndef __DEBUG_H #define __DEBUG_H #include "includes.h" #include "context.h" class BufferedDebugger { public: BufferedDebugger(Context *context, int channels, int size); void Write(int channel, float f); void Flush(); void Restart(); private: Context *_context; int _size; int _channels; int *_index; int _triggered; int _done; float *_buffer; }; #endif