You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
402 B
28 lines
402 B
#ifndef __SYNTHAPP_H__
|
|
#define __SYNTHAPP_H__
|
|
|
|
#include <mutex>
|
|
|
|
#include <wx/wxprec.h>
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include <wx/wx.h>
|
|
#endif
|
|
|
|
#include <portaudio.h>
|
|
#include <portmidi.h>
|
|
|
|
#include "synth.h"
|
|
|
|
class SynthApp : public wxApp {
|
|
public:
|
|
PaStream* paStream;
|
|
PmStream* pmStream;
|
|
Synth synth;
|
|
std::mutex synthMutex;
|
|
|
|
virtual bool OnInit();
|
|
virtual int OnExit();
|
|
};
|
|
|
|
#endif |