Christopher Arndt
ca918769ec
[ci] feat: add GitHub actions workflows for building/testing/docs ( #2 )
...
* disable windows runner for now (chocolatey jack package is broken)
* install jack and pcre from homebrew for macOS workflow
* install libjack-jackd2-dev libpcre3-dev for linux workflow
* add additional libjack location candidate for macOS / homebrew
* make library name patterns const strings
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-23 03:10:43 +01:00
Christopher Arndt
f05bbbd294
fix: examples require threading package
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-23 02:58:11 +01:00
Christopher Arndt
2c99d183ba
fix: define SIGTERM on windows, since it is not exported by system/ansi_c there
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-22 23:13:01 +01:00
Christopher Arndt
3b40310afd
docs: minor readme tweaks and fixes
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-20 02:23:45 +01:00
Christopher Arndt
3915638e73
feat: stream-line API and fix minor wrapping errors ( #1 )
...
* Rename types:
* `ptr` types have no suffix (e.g. `ClientP` -> `Client`)
* normal object types hyve a `T` suffix, if needed (e.g. `Port` -> `PortT`)
* Constants also use CamelCase (UPPER_CASE can still be used).
* Make functions returning an error discardable
* Add missing return types for some functions.
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-20 02:16:38 +01:00
Christopher Arndt
1fa9a68ee6
refactor: use 'byte' instead of 'uint8' in ringbuffer example
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-20 00:10:31 +01:00
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
0bfb23b6ff
docs: wording change in readme
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-11-23 17:40:38 +01:00
Christopher Arndt
20aed9e373
docs: clean up & improve readme
...
docs: move section from readme to todo
docs: change proejct description
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-11-23 17:30:16 +01:00
Christopher Arndt
6db9cc0811
fix: make all enums pure
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-07 15:56:50 +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
227ab3f45d
test: ignore compiled tests
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 02:47:27 +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
64b831039a
fix: minor readme whitespace fix
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:12:38 +02:00
Christopher Arndt
191e141311
fix: minor readme grammar fix
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:11:34 +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
1027a2e1dd
docs: add todo document
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:04:16 +02:00
Christopher Arndt
892d087c40
tests: add initial tests
...
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
6112afad73
fix: export internal client API functions
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 17:39:25 +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
1870734ae6
docs: update readme and license year
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 09:48:15 +02:00
Christopher Arndt
75e1266da4
docs: move comments for deprecated functions around
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 09:45:06 +02:00
Christopher Arndt
73e8248c2e
feat: wrap latency API
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 09:43:50 +02:00
Christopher Arndt
4c5deaa272
feat: wrap internal client loading API
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 09:42:09 +02:00
Christopher Arndt
c1d00decc9
refactor: remove 'Jack' prefix from callback types and two more enums
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-24 07:49:35 +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
ada9b13857
fix: use fixed-size integer types for custom types
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 19:58:43 +02:00
Christopher Arndt
e06f62da8c
docs: for deprecated functions/types show original C decl in comment
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 19:58:43 +02:00
Christopher Arndt
309e45e22a
refactor: various formatting tweaks
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 19:58:43 +02:00
Christopher Arndt
08c05c71d4
refactor: remove superfluous semicolons from end of comments
...
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
64b815dab5
fix: heading level in readme
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-11 00:15:42 +02:00
Christopher Arndt
b08a79b8dd
fix: use standard nimble package structure
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 21:11:19 +02:00
Christopher Arndt
9def17c07c
fix: minor readme typo
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 21:02:18 +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
1127b1ec09
docs: add project status and installation sections to readme
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 20:35:36 +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