initial commit
took me a day to make the base... ...and ~12 hours to write a reader that reads 100% of all demo songs in 1.0
This commit is contained in:
commit
783d56c72a
26 changed files with 1660 additions and 0 deletions
0
src/engine/platform/dummy.cpp
Normal file
0
src/engine/platform/dummy.cpp
Normal file
10
src/engine/platform/dummy.h
Normal file
10
src/engine/platform/dummy.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "../dispatch.h"
|
||||
|
||||
// the dummy platform outputs square waves, interprets STD instruments and plays samples.
|
||||
// used when a DivDispatch for a system is not found.
|
||||
class DivPlatformDummy: public DivDispatch {
|
||||
public:
|
||||
void acquire(float& l, float& r);
|
||||
int dispatch(DivCommand c);
|
||||
int init(int channels);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue