1
0
Fork 0
Commit graph

1107 commits

Author SHA1 Message Date
Alex Janka 5fb5bcd018 raw-window-handle 0.6.0 2024-08-19 15:16:40 +10:00
Robbert van der Helm 3697d72213 Fix assert_process_allocs with mingw
Not quite sure how this happened.
2024-08-18 21:43:53 +02:00
Robbert van der Helm 61c79ab610 Swap out lazy_static for std::sync::LazyLock 2024-08-18 21:37:10 +02:00
Robbert van der Helm b3038b458c Fix race condition in RunLoopEventHandler 2024-05-05 23:22:01 +02:00
rbmj 442d54ba50 Fix bug where aftertouch messages may not be processed 2024-05-05 22:49:19 +02:00
Robbert van der Helm 916dfc16a2 Document the CPAL buffer size handling 2024-05-05 22:43:58 +02:00
Robbert van der Helm 1c03d4adc6 Merge branch 'jwq_cpal-buffer-fix'
Fix CPAL buffer bug (standalone)

https://github.com/robbert-vdh/nih-plug/pull/142
2024-05-05 22:24:21 +02:00
Robbert van der Helm d270d1221f Fix in-place checks in buffer management
The previous implementation didn't work correctly, and would thus result
in soundness issues. Rust 1.78 finally fixes debug assertions in the
standard library so this was caught immediately.
2024-05-04 20:55:50 +02:00
Marcus Ramse ed72de7cbf Fix CPAL buffer bug (thanks @jesnor) 2024-04-16 16:45:54 +00:00
Robbert van der Helm 245add6530 Return kNotImplemented for the VST3 input events 2024-03-18 21:48:39 +01:00
iglak 36ee023fb3 fix: wrong window handle on windows 2024-01-01 23:05:53 +01:00
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