7
44
Fork
You've already forked nice-plug
22

standalone audio backend fixes #34

Merged
BillyDM merged 3 commits from standalone_fixes into main 2026年06月02日 21:10:51 +02:00

This fixes a number of issues with the standalone audio backends. (This is an alternative PR for #23).

  • The CPAL backend has been reworked to use the fixed_resample crate for synchronizing samples between the input and output audio streams. This should fix deadlock issues and improve performance.
  • The CPAL backend no longer panics if given a buffer larger than the requested buffer size.
  • The Jack backend now uses a minimum "max_buffer_size" of 2048 to help avoid early aborts on misbehaving Jack backends.
  • Added new fields to the standalone WrapperConfig: input_latency, input_capacity, and midi_capacity.
This fixes a number of issues with the standalone audio backends. (This is an alternative PR for #23). * The CPAL backend has been reworked to use the `fixed_resample` crate for synchronizing samples between the input and output audio streams. This should fix deadlock issues and improve performance. * The CPAL backend no longer panics if given a buffer larger than the requested buffer size. * The Jack backend now uses a minimum "max_buffer_size" of 2048 to help avoid early aborts on misbehaving Jack backends. * Added new fields to the standalone WrapperConfig: `input_latency`, `input_capacity`, and `midi_capacity`.
Author
Owner
Copy link

I'm wanting to get the first version of nih-plug published on crates.io today, so I'm just going to go ahead and merge this. If there are any more problems with the standalone backend, let me know!

I'm wanting to get the first version of nih-plug published on crates.io today, so I'm just going to go ahead and merge this. If there are any more problems with the standalone backend, let me know!
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RustAudio/nice-plug!34
Reference in a new issue
RustAudio/nice-plug
No description provided.
Delete branch "standalone_fixes"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?