Bayley Wang
/
priustroller_3
temp repo
Fork of priustroller_2 by
Embed:
(wiki syntax)
Show/hide line numbers
debug.h
00001 #ifndef __DEBUG_H 00002 #define __DEBUG_H 00003 00004 #include "includes.h" 00005 #include "context.h" 00006 00007 class BufferedDebugger { 00008 public: 00009 BufferedDebugger(Context *context, int channels, int size); 00010 void Write(int channel, float f); 00011 void Flush(); 00012 void Restart(); 00013 private: 00014 Context *_context; 00015 int _size; 00016 int _channels; 00017 int *_index; 00018 int _done; 00019 float *_buffer; 00020 }; 00021 00022 #endif
Generated on Tue Jul 12 2022 20:58:06 by 1.7.2