Loopp/src/eventhandler.hxx

24 lines
510 B
C++
Raw Normal View History

2013-04-20 12:37:36 +02:00
#ifndef LUPPP_EVENT_HANDLER_H
#define LUPPP_EVENT_HANDLER_H
2013-04-20 12:54:16 +02:00
#include "event.hxx"
2013-04-20 12:37:36 +02:00
#include <jack/ringbuffer.h>
extern char* processDspMem;
extern char* processGuiMem;
2013-04-20 12:37:36 +02:00
extern jack_ringbuffer_t* rbToDsp;
extern jack_ringbuffer_t* rbToGui;
2013-04-20 12:37:36 +02:00
// to process events in the ringbuffer
extern void handleDspEvents();
extern void handleGuiEvents();
2013-04-20 12:37:36 +02:00
// to write events to the ringbuffer
extern void writeToDspRingbuffer(EventBase* e);
extern void writeToGuiRingbuffer(EventBase* e);
2013-04-20 12:37:36 +02:00
#endif // LUPPP_EVENT_HANDLER_H