GUI: add a debug window
This commit is contained in:
parent
30b012cc5e
commit
0e633ea69b
44 changed files with 490 additions and 4 deletions
|
|
@ -150,9 +150,6 @@ class DivEngine {
|
|||
std::map<String,String> conf;
|
||||
std::queue<DivNoteEvent> pendingNotes;
|
||||
bool isMuted[DIV_MAX_CHANS];
|
||||
DivSystem sysOfChan[DIV_MAX_CHANS];
|
||||
int dispatchOfChan[DIV_MAX_CHANS];
|
||||
int dispatchChanOfChan[DIV_MAX_CHANS];
|
||||
std::mutex isBusy;
|
||||
String configPath;
|
||||
String configFile;
|
||||
|
|
@ -206,6 +203,10 @@ class DivEngine {
|
|||
|
||||
public:
|
||||
DivSong song;
|
||||
DivSystem sysOfChan[DIV_MAX_CHANS];
|
||||
int dispatchOfChan[DIV_MAX_CHANS];
|
||||
int dispatchChanOfChan[DIV_MAX_CHANS];
|
||||
|
||||
void runExportThread();
|
||||
void nextBuf(float** in, float** out, int inChans, int outChans, unsigned int size);
|
||||
DivInstrument* getIns(int index);
|
||||
|
|
@ -448,6 +449,12 @@ class DivEngine {
|
|||
// set remaining loops. -1 means loop forever.
|
||||
void setLoops(int loops);
|
||||
|
||||
// get channel state
|
||||
DivChannelState* getChanState(int chan);
|
||||
|
||||
// get dispatch channel state
|
||||
void* getDispatchChanState(int chan);
|
||||
|
||||
// set the audio system.
|
||||
void setAudio(DivAudioEngines which);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue