1
0
Fork 0
Commit graph

1096 commits

Author SHA1 Message Date
Robbert van der Helm
9a9b7cd7b9 Promote debug assertion failures to warnings 2023-12-30 15:02:06 +01:00
Robbert van der Helm
0dd58cd4bb Fix trailing whitespace
From a PR.
2023-12-30 14:44:40 +01:00
Robbert van der Helm
fb71357ca3 Remove out of date comment 2023-12-30 14:44:40 +01:00
Robbert van der Helm
ba9f979be6 Ignore logging messages from selectors
Vizia now spams these.
2023-12-30 14:44:40 +01:00
Robbert van der Helm
b794cdeafe Rework ParentWindowHandle to be a sum type
So we can mix and match versions of baseview that target different
versions of `raw_window_handle`.
2023-12-30 14:44:40 +01:00
Robbert van der Helm
4af581ba07 Remove unnecessary pointer checks 2023-12-30 14:44:40 +01:00
Benno Straub
bf59a9496b Fix an error in nih_export_vst3 and a warning in nih_export_clap 2023-12-06 19:09:06 +01:00
rbmj
bf01371009 Added IntParam::range() and FloatParam::range() 2023-11-05 21:55:38 +01:00
Iain
6f975ca404 Fix backticks in doc comments 2023-09-24 13:38:26 +02:00
Robbert van der Helm
3f4d70c32a Fix null pointer assertions in buffer management 2023-09-21 22:48:11 +02:00
Robbert van der Helm
c0a72661e1 Fix new Clippy lints 2023-09-03 16:35:57 +02:00
Robbert van der Helm
19988db139 Support multiple plugins in nih_export_vst3!()
Just like in `nih_export_clap!()`.
2023-09-03 15:43:23 +02:00
Robbert van der Helm
b9b30feb86 Get rid of qualified imports in nih_export_clap!()
Adding these in the outer block would pollute the namespace but we can
do whatever we want in the inner module.
2023-09-03 14:00:03 +02:00
Robbert van der Helm
c5bfb33d24 Use $crate in the nih_export_*!() macros 2023-09-03 13:47:08 +02:00
Robbert van der Helm
07a310f778 Mention multiple plugins in nih_export_clap() 2023-09-02 23:35:42 +02:00
m-hilgendorf
252ab3c5be Added explicit module path in nih_export_clap. 2023-08-27 17:34:26 +02:00
Robbert van der Helm
3ccaced613 Support exporting multiple CLAP plugins
This required the factory to be rewritten as a macro. since variadic
generics are not yet a thing. Not 100% satisfied with this design yet,
but it's much less ugly than my earlier attempts at this.
2023-08-05 16:38:57 +02:00
Jussi Viiri
ff89e25d2f gain_to_db formatter fix
Copy fix from v2s_f32_rounded
2023-08-05 14:23:54 +02:00
Robbert van der Helm
5ae23f52f4 Fix clippy lints 2023-07-16 15:17:58 +02:00
Kelley van Evert
8848b13c67 Typo 2023-07-03 23:03:54 +02:00
Robbert van der Helm
bc25d6bf0a Document that plugins need MIDI IO for SysEx 2023-06-07 21:18:31 +02:00
Adrien Prokopowicz
f170b72706 Fix background thread spawning and joining 2023-05-23 21:31:25 +02:00
Adrien Prokopowicz
eb7dcf60ec Fix unreachable code warning 2023-05-23 00:52:38 +02:00
Adrien Prokopowicz
d61f3c885d Clean up ScopedFtz conditional compilation even more (remove the need for the cfg_if! macro) 2023-05-23 00:52:38 +02:00
Adrien Prokopowicz
d20b9a19ee Clean up ScopedFtz conditional compilation for MIRI 2023-05-23 00:52:38 +02:00
Adrien Prokopowicz
4c87db906a Various MIRI fixes 2023-05-23 00:52:38 +02:00
Robbert van der Helm
727b15aa93 Remove the Default bound from SysExMessage::Buffer 2023-05-13 22:39:54 +02:00
Robbert van der Helm
68b3b864d6 Assert that parameter ranges are valid 2023-04-30 21:28:23 +02:00
Robbert van der Helm
0afe6852b3 Avoid returning negative zeroes in v2s_f32_rounded
This ensures that values roundtrip correctly since -0.0 and 0.0
correspond to the same normalized value.
2023-04-27 12:30:45 +02:00
Robbert van der Helm
5e69910616 Consider block start with buffer management
This broke sample accurate automation.
2023-04-24 23:47:29 +02:00
Robbert van der Helm
4912962551 Fix broken links in docs 2023-04-24 14:54:20 +02:00
Robbert van der Helm
808782df05 Take &mut self for editor() and task_executor() 2023-04-24 14:51:40 +02:00
Robbert van der Helm
44476ad696 Better describe the Plugin trait 2023-04-24 14:37:14 +02:00
Robbert van der Helm
9af37968b5 Add a docstring for add_spacer 2023-04-22 17:26:40 +02:00
Robbert van der Helm
911c0d57d5 Allow declaratively defining CLAP remote controls 2023-04-22 16:59:03 +02:00
Robbert van der Helm
841fe2424c Update to CLAP 1.1.8 2023-04-22 16:09:58 +02:00
Robbert van der Helm
a7e4e8b31e Add a context for defining remote control pages 2023-04-22 15:53:04 +02:00
Robbert van der Helm
2dbd835778 Also prefer importing from prelude internally
Less breakage when restructuring modules.
2023-04-22 15:13:39 +02:00
Robbert van der Helm
34b416ecb6 Move API-specific traits and structs to submodules 2023-04-22 14:52:01 +02:00
Robbert van der Helm
2187aa96ab Fix formatting in formatters.rs
Rustfmt changed the way it formats this a while back.
2023-04-07 13:33:39 +02:00
Robbert van der Helm
4502eaec3a Change wrapped smoothing style to be a static ref
Instead of having to wrap this in an `Arc`. This makes the interface a
bit nicer to use.
2023-04-05 18:16:58 +02:00
Robbert van der Helm
8a7100ac3e Add an OversamplingAware smoothing style
This can be used to have an ergonomic way to do multi-rate smoothing
with variable oversampling amounts that only the `Arc<AtomicF32>` to be
updated from a parameter callback.
2023-04-05 18:08:22 +02:00
Robbert van der Helm
3aa3f08f82 Upgrade nih_debug_assert!() to panic in tests 2023-04-05 16:13:16 +02:00
Robbert van der Helm
58174c1af0 Add a miri test for the buffer management's safety 2023-04-01 16:12:37 +02:00
Robbert van der Helm
112c801bc4 Use the new buffer management for the CPAL backend
Now everything uses `BufferManager`. That should hopefully reduce the
chances that different backends behave differently or trigger different
debug assertions.
2023-04-01 15:43:58 +02:00
Robbert van der Helm
cc5980e215 Zero out auxiliary output buffers
We used to do this, but this got lost in the migration to the new buffer
management system.
2023-04-01 15:21:12 +02:00
Robbert van der Helm
9d45cbf1d9 Use new buffer management for the dummy backend 2023-03-31 19:22:30 +02:00
Robbert van der Helm
ca4569e03a Use new buffer management in JACK standalones 2023-03-31 18:17:48 +02:00
Robbert van der Helm
8196641d65 Update VST3 wrapper to use new buffer manager
This also fixes output events not being sent during a parameter flush.
2023-03-31 17:01:41 +02:00
Robbert van der Helm
30a26e0d9a Update CLAP wrapper to use the new buffer manager 2023-03-31 16:03:49 +02:00