diff options
author | Thomas White <taw@physics.org> | 2023-04-25 20:36:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-04-25 20:41:01 +0200 |
commit | 52c58f11955dac3185ea6c6c18776e428cbaf800 (patch) | |
tree | f0138dac143f2f00f63fca10e00ed91b3eaba733 /open-sound-control | |
parent | 540c125ee6821cd84dd1e72f58c2ec1d39f2ac72 (diff) |
Add blocking server
Diffstat (limited to 'open-sound-control')
-rw-r--r-- | open-sound-control/api.scm | 3 | ||||
-rw-r--r-- | open-sound-control/server.scm | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/open-sound-control/api.scm b/open-sound-control/api.scm index b34b874..6ee3c9f 100644 --- a/open-sound-control/api.scm +++ b/open-sound-control/api.scm @@ -20,8 +20,11 @@ ;; (define-module (open-sound-control api) #:export (make-osc-server-thread + make-osc-server add-osc-method + osc-recv + make-osc-address osc-send)) diff --git a/open-sound-control/server.scm b/open-sound-control/server.scm new file mode 100644 index 0000000..308faf1 --- /dev/null +++ b/open-sound-control/server.scm @@ -0,0 +1,25 @@ +;; +;; open-sound-control/server.scm +;; +;; Copyright © 2023 Thomas White <taw@bitwiz.me.uk> +;; +;; This file is part of Guile-OSC. +;; +;; Guile-OSC is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see <http://www.gnu.org/licenses/>. +;; +(define-module (open-sound-control server) + #:use-module (open-sound-control api) + #:re-export (make-osc-server + add-osc-method + osc-recv)) |