Skip to content

Commit

Permalink
Added MAKE-OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Aug 20, 2016
1 parent 688c12e commit 04565ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.lisp
Expand Up @@ -93,6 +93,7 @@
#:device-default-name)
;; wrapper.lisp
(:export
#:make-output
#:output
#:handle
#:playing
Expand Down
3 changes: 3 additions & 0 deletions wrapper.lisp
Expand Up @@ -12,6 +12,9 @@
(cl-out123-cffi:close handle)
(cl-out123-cffi:del handle)))

(defun make-output (driver &rest args &key &allow-other-keys)
(apply #'make-instance 'output :driver driver args))

(defclass output ()
((handle :initform NIL :reader handle)
(playing :initform NIL :reader playing :writer set-playing)
Expand Down

0 comments on commit 04565ee

Please sign in to comment.