1
0
Fork 0
Commit graph

1325 commits

Author SHA1 Message Date
Robbert van der Helm 5cbd8827e9 Update clap-sys with optional function pointers
None of these function pointers are allowed to be null, yet even the
official `clap-helpers` do this. This new `clap_call!()` macro asserts
that a pointer is non-null before calling it.
2022-07-04 00:07:06 +02:00
Robbert van der Helm 24d499e716 Fix typos in nih_plug_xtask's readme 2022-07-03 19:49:20 +02:00
Robbert van der Helm 52d9fff313 Don't cache the cargo bin directory on the CI
This still causes issues.
2022-07-03 17:08:32 +02:00
Robbert van der Helm 97baa9d55c Remove duplicate comment 2022-07-03 17:04:33 +02:00
Robbert van der Helm c91b74355f Let rustfmt handle string wrapping 2022-07-03 16:52:38 +02:00
Robbert van der Helm ed880f5297 Handle buffered CLAP stream reads and writes
`clap-validator` now tests this.
2022-07-03 16:51:15 +02:00
Robbert van der Helm 5e6e920418 Use BTreeMaps in the state
This ensures that the order is consistent when saving the same state
file multiple times.
2022-07-02 19:13:18 +02:00
Robbert van der Helm 71efe779a5 Recompute normalized values when setting params
This makes it so that the value is consistent after reloading the
preset.
2022-07-02 19:04:43 +02:00
Robbert van der Helm 883b43b6a7 Support string->value conversions for Diopser's most important parameter 2022-07-02 00:45:01 +02:00
Robbert van der Helm 32ad1212f1 Silence clippy::type_complexity
Clippy now wants us to move any usage of the Fn* traits to a typedef.
Doing so will almost certainly not help readability.
2022-07-01 15:50:23 +02:00
Robbert van der Helm 0599780030 Remove unnecessary reborrows 2022-07-01 15:50:16 +02:00
Robbert van der Helm 1d7cbe4c4d Suppress unused_unit more locally 2022-07-01 14:58:31 +02:00
Robbert van der Helm 29e9d620ca Fix the sine test tone CLAP category 2022-06-29 01:32:39 +02:00
Robbert van der Helm f309f39982 More defensively check for >0 inputs and outputs
Noticed this through a bug in clapval.
2022-06-29 01:32:39 +02:00
Robbert van der Helm 4247c229ec Fix in-place pairs for output-only plugins
https://github.com/robbert-vdh/clapval reminded me of this.
2022-06-29 01:32:39 +02:00
Robbert van der Helm d9ef4002a8
Merge pull request #12 from sonata-chen/master
fix typo
2022-06-28 13:53:52 +02:00
sonata-chen a284ba020f
fix typo 2022-06-28 19:42:46 +08:00
Robbert van der Helm 05fd7fa075 Revert "Fix audio port in-place pair indices"
This reverts commit 791dc44650.

This was actually correct, this should use stable indices instead of
list indices.
2022-06-27 18:33:13 +02:00
Robbert van der Helm 791dc44650 Fix audio port in-place pair indices 2022-06-27 18:22:40 +02:00
Robbert van der Helm 9fa305206c Fix compilation on Windows 2022-06-26 23:25:21 +02:00
Robbert van der Helm 4b2435a791 Allow allocations during most panics
The panic logger is allowed to allocate now. If a panic message uses
string formatting then that may still trigger `assert_no_alloc`.
2022-06-26 23:13:35 +02:00
Robbert van der Helm fb0c1acbed Update documentation on PersistentField 2022-06-24 21:09:25 +02:00
Robbert van der Helm 7d4cafb33d Fix cache conflicts with AArch64 2022-06-23 19:02:21 +02:00
Robbert van der Helm 8018af419f Add back lost note->frequency conversion
This somehow got lost in db135ba34f.
2022-06-22 19:40:25 +02:00
Robbert van der Helm db135ba34f Fix note note string -> MIDI ID conversion
This was added in a PR, but I never actually tested the conversion.
2022-06-22 19:35:10 +02:00
Robbert van der Helm c6c37e665b Accept note names for frequency params 2022-06-22 18:41:50 +02:00
Robbert van der Helm 2d2ff23cc4 Remove old TODO about only logging in debug builds 2022-06-19 15:28:18 +02:00
Robbert van der Helm bf725fb935 List more not yet implemented features 2022-06-18 18:50:53 +02:00
Robbert van der Helm 3e1f4ce364 Update Vizia
This fixes another issue with style inheritance.
2022-06-18 12:49:00 +02:00
Robbert van der Helm b7bfa5f18e Update Vizia
With two months of breaking changes, hooray! But everything should still
work after some bug squashing in Vizia.
2022-06-18 01:59:57 +02:00
Robbert van der Helm a291e0dfb6 Always request flush when setting params from GUI 2022-06-17 18:28:15 +02:00
Robbert van der Helm 285f831e77 Potentially correct value for CFBundleExecutable
Some plugins would load, others didn't, and I think the ones with spaces
didn't so this might be why.
2022-06-17 11:27:48 +02:00
Robbert van der Helm 18a679ce68 Only run docs workflow on master branch pushes
This shouldn't be run for PRs.
2022-06-16 13:11:54 +02:00
Robbert van der Helm 0e107b72ab
Merge pull request #11 from brson/dummmy
Dummmy -> Dummy
2022-06-16 13:10:29 +02:00
Brian Anderson 23947ec0b5 Dummmy -> Dummy 2022-06-15 23:28:07 -06:00
Robbert van der Helm 4d7cfa381f
Merge pull request #10 from ElizabethHarmon/master
Update README.md
2022-06-15 16:22:41 +02:00
Elizabeth Harmon 74652598eb
Update README.md 2022-06-15 13:35:20 +00:00
Robbert van der Helm 9faf2e7e09 Mention the standalone JACK integration 2022-06-15 01:01:57 +02:00
Robbert van der Helm e891e1fdb7 Use JACK transport data for JACK standalone 2022-06-15 00:48:34 +02:00
Robbert van der Helm 4219acaf83 Sort of allow GUI-less standalones
There's no way to interact with them, but they'll just keep running and
be at least somewhat useful.
2022-06-15 00:25:37 +02:00
Robbert van der Helm a4fa7e8e78 Initialize smoothers in the standalone 2022-06-15 00:18:44 +02:00
Robbert van der Helm abe7fec0db Fix channel layout check in sine example 2022-06-15 00:10:27 +02:00
Robbert van der Helm 199305c413 Fix reflink sometimes removing executable bit
Or, well, work around it.
2022-06-15 00:10:27 +02:00
Robbert van der Helm 0b6be4de1c Fully implement MIDI support in standalone wrapper 2022-06-15 00:10:27 +02:00
Robbert van der Helm 54f4b8a026 Read and write MIDI events in JACK standalone
The standalone itself does not yet pass these to the plugin.
2022-06-14 23:43:13 +02:00
Robbert van der Helm 0d2330d773 Add conversions from note events to MIDI 2022-06-14 23:28:12 +02:00
Robbert van der Helm 66f5a0e7de Move MIDI parsing from CLAP wrapper to NoteEvent 2022-06-14 22:59:40 +02:00
Robbert van der Helm 4e021dd0bb Add input and output events to Backend trait 2022-06-14 22:56:25 +02:00
Robbert van der Helm e967e04856 Add auto connecting for JACK MIDI ports 2022-06-14 21:43:26 +02:00
Robbert van der Helm 5cd4bb8de0 Register JACK MIDI input and output ports 2022-06-14 21:32:29 +02:00