summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r--src/AlsaDriver.hpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp
index 15a5086..2f4b1e3 100644
--- a/src/AlsaDriver.hpp
+++ b/src/AlsaDriver.hpp
@@ -23,19 +23,16 @@
#include <pthread.h>
#include <map>
-#include <mutex>
-#include <queue>
#include <set>
#include <string>
class ILog;
-class Patchage;
/// Driver for ALSA Sequencer ports
class AlsaDriver : public Driver
{
public:
- explicit AlsaDriver(ILog& log);
+ explicit AlsaDriver(ILog& log, EventSink emit_event);
AlsaDriver(const AlsaDriver&) = delete;
AlsaDriver& operator=(const AlsaDriver&) = delete;
@@ -57,8 +54,6 @@ public:
void print_addr(snd_seq_addr_t addr);
- void process_events(Patchage* app) override;
-
private:
bool create_refresh_port();
static void* refresh_main(void* me);
@@ -68,9 +63,6 @@ private:
snd_seq_t* _seq;
pthread_t _refresh_thread;
- std::mutex _events_mutex;
- std::queue<PatchageEvent> _events;
-
struct SeqAddrComparator
{
bool operator()(const snd_seq_addr_t& a, const snd_seq_addr_t& b) const