aboutsummaryrefslogtreecommitdiff
path: root/guile/example.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guile/example.scm')
-rw-r--r--guile/example.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/guile/example.scm b/guile/example.scm
new file mode 100644
index 0000000..3963c76
--- /dev/null
+++ b/guile/example.scm
@@ -0,0 +1,12 @@
+; load event handler
+(load "pdp_guile.scm")
+
+
+; input - output video plug
+(add-input! 'in-vid
+ (lambda (thing)
+ (out 'out-vid thing)))
+
+
+; start the input loop
+(start)