1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
(defpackage :filebuilding
(:use :common-lisp :cffi))
(in-package :filebuilding)
;;;SWIG wrapper code starts here
(defmacro defanonenum (&body enums)
"Converts anonymous enums to defconstants."
`(progn ,@(loop for value in enums
for index = 0 then (1+ index)
when (listp value) do (setf index (second value)
value (first value))
collect `(defconstant ,value ,index))))
;;;SWIG wrapper code ends here
(defcfun ("csoundCsdCreate" csoundCsdCreate) :void
(csound :pointer))
(defcfun ("csoundCsdSetOptions" csoundCsdSetOptions) :void
(csound :pointer)
(options :string))
(defcfun ("csoundCsdGetOptions" csoundCsdGetOptions) :string
(csound :pointer))
(defcfun ("csoundCsdSetOrchestra" csoundCsdSetOrchestra) :void
(csound :pointer)
(orchestra :string))
(defcfun ("csoundCsdGetOrchestra" csoundCsdGetOrchestra) :string
(csound :pointer))
(defcfun ("csoundCsdAddScoreLine" csoundCsdAddScoreLine) :void
(csound :pointer)
(line :string))
(defcfun ("csoundCsdAddEvent11" csoundCsdAddEvent11) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double)
(p7 :double)
(p8 :double)
(p9 :double)
(p10 :double)
(p11 :double))
(defcfun ("csoundCsdAddEvent10" csoundCsdAddEvent10) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double)
(p7 :double)
(p8 :double)
(p9 :double)
(p10 :double))
(defcfun ("csoundCsdAddEvent9" csoundCsdAddEvent9) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double)
(p7 :double)
(p8 :double)
(p9 :double))
(defcfun ("csoundCsdAddEvent8" csoundCsdAddEvent8) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double)
(p7 :double)
(p8 :double))
(defcfun ("csoundCsdAddEvent7" csoundCsdAddEvent7) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double)
(p7 :double))
(defcfun ("csoundCsdAddEvent6" csoundCsdAddEvent6) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double)
(p6 :double))
(defcfun ("csoundCsdAddEvent5" csoundCsdAddEvent5) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double)
(p5 :double))
(defcfun ("csoundCsdAddEvent4" csoundCsdAddEvent4) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double)
(p4 :double))
(defcfun ("csoundCsdAddEvent3" csoundCsdAddEvent3) :void
(csound :pointer)
(p1 :double)
(p2 :double)
(p3 :double))
(defcfun ("csoundCsdSave" csoundCsdSave) :int
(csound :pointer)
(filename :string))
(defcfun ("csoundCsdCompile" csoundCsdCompile) :int
(csound :pointer)
(filename :string))
(defcfun ("csoundCsdPerform" csoundCsdPerform) :int
(csound :pointer)
(filename :string))
(defcfun ("csoundCompileCsd" csoundCompileCsd) :int
(arg0 :pointer)
(csdFilename :string))
(defcfun ("csoundPerformCsd" csoundPerformCsd) :int
(arg0 :pointer)
(csdFilename :string))
|