aboutsummaryrefslogtreecommitdiff
path: root/guile/starlet/guile-ola.scm
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-02 17:08:21 +0200
committerThomas White <taw@physics.org>2021-05-02 18:38:41 +0200
commitf040a936d8f39148e81b9cd7716b1b0c466b65dd (patch)
treeab9394c95739f796f985047a3fc2a5881b45876c /guile/starlet/guile-ola.scm
parentc0399a0a1b4c309bbf6f39ea461687cd3e87a5e2 (diff)
Use wrapper for OLA's C++ API instead of the web API
Diffstat (limited to 'guile/starlet/guile-ola.scm')
-rw-r--r--guile/starlet/guile-ola.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/guile/starlet/guile-ola.scm b/guile/starlet/guile-ola.scm
new file mode 100644
index 0000000..5ec4fc7
--- /dev/null
+++ b/guile/starlet/guile-ola.scm
@@ -0,0 +1,13 @@
+(define-module (starlet guile-ola)
+ #:export (<OlaDmxBuffer>
+ <OlaStreamingClient>
+ send-streaming-dmx-data!
+ make-ola-dmx-buffer
+ set-ola-dmx-buffer!
+ make-ola-streaming-client
+ ola-dmx-buffers-equal?))
+
+(if (not (provided? 'guile-ola))
+ (load-extension "libguile-ola"
+ "init_guile_ola"))
+