Commit Graph

35 Commits

Author SHA1 Message Date
Christopher Arndt ad7014da09 Use proper exit status enum value 2024-05-21 18:15:51 +02:00
Christopher Arndt 1444154ca4 fix: set import search path for examples, so that they don't use the installed version
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-15 00:02:37 +02:00
Christopher Arndt 70c7782f5b feat: add passthru client example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-15 00:01:39 +02:00
Christopher Arndt 03d7471656 fix: remove superfluous import and global var
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-15 00:01:00 +02:00
Christopher Arndt 9645542176 feat: implement converters for enums
Allows to pass enum values directly for cint/culong params

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-14 23:47:13 +02:00
Christopher Arndt f0c036c686 fix: log message levels in examples
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-07 15:56:31 +02:00
Christopher Arndt aadbd26fab fix: hex number formatting width
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 04:27:52 +02:00
Christopher Arndt f78bb963fb fix: exit condition handling
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 04:26:54 +02:00
Christopher Arndt 8964ad7052 feat: add MIDI receiver example showing use of threading and ringbuffer
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 02:42:48 +02:00
Christopher Arndt 61b0405f3e feat: make callback functions user arg optional
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 02:40:02 +02:00
Christopher Arndt f3a6b660d6 feat: add MIDI receiver example showing use of threading/channels
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-27 16:22:06 +02:00
Christopher Arndt 05ec305a04 refactor: minor example tweaks
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:04:16 +02:00
Christopher Arndt bff6f5e9fa feat: wrap ringbuffer API and add usage example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:04:16 +02:00
Christopher Arndt 67f2f79961 refactor: minor example simplification
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 09:49:26 +02:00
Christopher Arndt 34d3093505 feat: wrap metadata API and add one usage example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 07:49:14 +02:00
Christopher Arndt 31b83223fc feat: add MIDI receiver example showing use of threads/channels
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-23 01:26:50 +02:00
Christopher Arndt 2d8533d122 feat: wrap transport API and add transport query example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 19:58:43 +02:00
Christopher Arndt 5c4af1a90a feat: wrap MIDI API and add example MIDI client
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 19:58:43 +02:00
Christopher Arndt 08c199d5b3 refactor: shorten type names
TypeT -> Type; TypeTPtr -> TypeP

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 05:13:31 +02:00
Christopher Arndt c8ddbb2cf2 Minor typo and whitespace fixes 2023-05-22 04:00:07 +02:00
Christopher Arndt 72d99007c5 fix: minor example tweaks
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 21:01:21 +02:00
Christopher Arndt bffc611cdd refactor: more example tweaking and rename all to have 'jacket_' prefix
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 20:35:00 +02:00
Christopher Arndt 25bf6b31cf refactor: tweak jacket_sine example and add comments
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 19:45:13 +02:00
Christopher Arndt 5edb9724a0 feat: add simple sine wave generator client example 2022-10-10 03:48:36 +02:00
Christopher Arndt 7e46bc3ed7 feat: turn on debug logging w/out -d:release
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-09 21:59:40 +02:00
Christopher Arndt 5d8cba0f2d fix: cleanup arg default value; signal list 2022-10-09 21:05:08 +02:00
Christopher Arndt ba5ebc4f4d feat: implement proper signal handling in examples 2022-10-09 19:48:55 +02:00
Christopher Arndt e68223f1e6 refactor: more examples streamlining 2022-10-09 09:43:13 +02:00
Christopher Arndt 86ce617f14 cfg: ignore files without extension in examples dir
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 17:22:03 +02:00
Christopher Arndt 84b135edb1 cfg: ignore files without extension in examples dir
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 17:21:03 +02:00
Christopher Arndt b28d4fbfa6 fix: add missing cleanup to example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 16:45:24 +02:00
Christopher Arndt b8d5119d03 refactor: some style improvemnts in examples
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 16:45:24 +02:00
Christopher Arndt c41b1eb03e fix: set calling convention for callback function prototypes
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 05:10:49 +02:00
Christopher Arndt 896768696b fix: use let instead of var in example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 04:42:42 +02:00
Christopher Arndt fcbb796cd4 Initial import of 'jacket' Nim wrapper for JACK API
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-06 04:19:20 +02:00