aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-05 03:41:01 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-05 23:39:23 +0300
commit8cdcf6f747cd85ebc1425acfd9d8a9ebfa84e752 (patch)
treee4c6307c3b93e9fb3160702dd3f83b739be974e8 /applause.c
parent8ac5f63d63b298bb729dedde02e8c50d0efb17f4 (diff)
downloadapplause2-8cdcf6f747cd85ebc1425acfd9d8a9ebfa84e752.tar.gz
moved common definitions into applause.h
Diffstat (limited to 'applause.c')
-rw-r--r--applause.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/applause.c b/applause.c
index f0a901e..e7e69cd 100644
--- a/applause.c
+++ b/applause.c
@@ -33,6 +33,7 @@
#include <jack/midiport.h>
#include <jack/ringbuffer.h>
+#include "applause.h"
#include "midi.h"
#define LUA_MODULE "applause.lua"
@@ -391,13 +392,6 @@ init_audio(int buffer_size)
return 0;
}
-enum applause_audio_state {
- APPLAUSE_AUDIO_OK = 0,
- APPLAUSE_AUDIO_INTERRUPTED,
- APPLAUSE_AUDIO_XRUN,
- APPLAUSE_AUDIO_INVALID_PORT
-};
-
/**
* Push one Jack sample into the ring buffer.
*