Minor typo and whitespace fixes

This commit is contained in:
Christopher Arndt 2023-05-22 04:00:07 +02:00
parent 64b815dab5
commit c8ddbb2cf2
3 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ var status: cint
var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug) var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug)
proc errorCb(msg: cstring) {.cdecl.} = proc errorCb(msg: cstring) {.cdecl.} =
# Suppress verbose JACK error messges when server is not available by # Suppress verbose JACK error messages when server is not available by
# default. Pass ``lvlAll`` when creating the logger to enable them. # default. Pass ``lvlAll`` when creating the logger to enable them.
debug "JACK error: " & $msg debug "JACK error: " & $msg

View File

@ -48,4 +48,4 @@ jclient.onShutdown(shutdownCb, nil)
while not exitSignalled: while not exitSignalled:
sleep(50) sleep(50)
cleanup() cleanup()

View File

@ -15,6 +15,7 @@ proc getJackLibName: string =
result = "libjack.so.0" result = "libjack.so.0"
{.push dynlib: getJackLibName().} {.push dynlib: getJackLibName().}
# ------------------------------ Constants -------------------------------- # ------------------------------ Constants --------------------------------
const const