Compare commits
No commits in common. "e793add4d042c88225469f60b32963596618fe67" and "5a6a55f07152637e7b742e53a09d9f540975dc68" have entirely different histories.
e793add4d0
...
5a6a55f071
|
@ -15,7 +15,7 @@ proc cleanup() {.noconv.} =
|
||||||
|
|
||||||
quit 0
|
quit 0
|
||||||
|
|
||||||
proc portConnected(portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer) {.cdecl.} =
|
proc portConnected(portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer) {.exportc.} =
|
||||||
let portAPtr = portById(client, portA)
|
let portAPtr = portById(client, portA)
|
||||||
let portBPtr = portById(client, portB)
|
let portBPtr = portById(client, portB)
|
||||||
|
|
||||||
|
|
38
jacket.nim
38
jacket.nim
|
@ -38,9 +38,9 @@ type
|
||||||
PortTypeIdT* = culong
|
PortTypeIdT* = culong
|
||||||
|
|
||||||
type
|
type
|
||||||
ClientT = distinct object
|
ClientT = object
|
||||||
ClientTPtr* = ptr ClientT
|
ClientTPtr* = ptr ClientT
|
||||||
PortT = distinct object
|
PortT = object
|
||||||
PortTPtr* = ptr PortT
|
PortTPtr* = ptr PortT
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,23 +86,23 @@ type
|
||||||
|
|
||||||
# Callback function types
|
# Callback function types
|
||||||
type
|
type
|
||||||
JackProcessCallback* = proc (nframes: NframesT; arg: pointer): cint {.cdecl.}
|
JackProcessCallback* = proc (nframes: NframesT; arg: pointer): cint
|
||||||
JackThreadCallback* = proc (arg: pointer): pointer {.cdecl.}
|
JackThreadCallback* = proc (arg: pointer): pointer
|
||||||
JackThreadInitCallback* = proc (arg: pointer) {.cdecl.}
|
JackThreadInitCallback* = proc (arg: pointer)
|
||||||
JackGraphOrderCallback* = proc (arg: pointer): cint {.cdecl.}
|
JackGraphOrderCallback* = proc (arg: pointer): cint
|
||||||
JackXRunCallback* = proc (arg: pointer): cint {.cdecl.}
|
JackXRunCallback* = proc (arg: pointer): cint
|
||||||
JackBufferSizeCallback* = proc (nframes: NframesT; arg: pointer): cint {.cdecl.}
|
JackBufferSizeCallback* = proc (nframes: NframesT; arg: pointer): cint
|
||||||
JackSampleRateCallback* = proc (nframes: NframesT; arg: pointer): cint {.cdecl.}
|
JackSampleRateCallback* = proc (nframes: NframesT; arg: pointer): cint
|
||||||
JackPortRegistrationCallback* = proc (port: PortIdT; flag: cint; arg: pointer) {.cdecl.}
|
JackPortRegistrationCallback* = proc (port: PortIdT; flag: cint; arg: pointer)
|
||||||
JackClientRegistrationCallback* = proc (name: cstring; flag: cint; arg: pointer) {.cdecl.}
|
JackClientRegistrationCallback* = proc (name: cstring; flag: cint; arg: pointer)
|
||||||
JackPortConnectCallback* = proc (portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer) {.cdecl.}
|
JackPortConnectCallback* = proc (portA: PortIdT; portB: PortIdT; connect: cint; arg: pointer)
|
||||||
JackPortRenameCallback* = proc (port: PortIdT; oldName: cstring; newName: cstring; arg: pointer) {.cdecl.}
|
JackPortRenameCallback* = proc (port: PortIdT; oldName: cstring; newName: cstring; arg: pointer)
|
||||||
JackFreewheelCallback* = proc (starting: cint; arg: pointer) {.cdecl.}
|
JackFreewheelCallback* = proc (starting: cint; arg: pointer)
|
||||||
JackShutdownCallback* = proc (arg: pointer) {.cdecl.}
|
JackShutdownCallback* = proc (arg: pointer)
|
||||||
JackInfoShutdownCallback* = proc (code: JackStatus; reason: cstring; arg: pointer) {.cdecl.}
|
JackInfoShutdownCallback* = proc (code: JackStatus; reason: cstring; arg: pointer)
|
||||||
JackLatencyCallback* = proc (mode: JackLatencyCallbackMode; arg: pointer) {.cdecl.}
|
JackLatencyCallback* = proc (mode: JackLatencyCallbackMode; arg: pointer)
|
||||||
JackInfoCallback* = proc (msg: cstring) {.cdecl.}
|
JackInfoCallback* = proc (msg: cstring)
|
||||||
JackErrorCallback* = proc (msg: cstring) {.cdecl.}
|
JackErrorCallback* = proc (msg: cstring)
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------- Version info ------------------------------
|
# ----------------------------- Version info ------------------------------
|
||||||
|
|
Loading…
Reference in New Issue