summaryrefslogtreecommitdiffhomepage
path: root/src/lingot-audio.h
diff options
context:
space:
mode:
authorPiotr Pawlow <pp@siedziba.pl>2014-03-14 01:04:56 +0100
committerPiotr Pawlow <pp@siedziba.pl>2014-03-14 01:04:56 +0100
commit56acbfafc18f8716959ee7e0abe3bbfeb8f81056 (patch)
tree0742b76656458489507348f6877479dd4d430f8e /src/lingot-audio.h
parent9bc63f42d03ef071132142c2462b03b992b95f3b (diff)
- add portaudio
Diffstat (limited to 'src/lingot-audio.h')
-rw-r--r--src/lingot-audio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lingot-audio.h b/src/lingot-audio.h
index ea7a041..1976b1a 100644
--- a/src/lingot-audio.h
+++ b/src/lingot-audio.h
@@ -31,6 +31,10 @@
#include <jack/jack.h>
#endif
+#ifdef PORTAUDIO
+#include <portaudio.h>
+#endif
+
#include <stdint.h>
#include <pthread.h>
#include "lingot-config.h"
@@ -63,6 +67,10 @@ struct _LingotAudioHandler {
int nframes;
# endif
+# ifdef PORTAUDIO
+ PaStream *portaudio_stream;
+# endif
+
// char error_message[100];
unsigned int real_sample_rate;