Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with background tasks needed (no obvious example) #172

Closed
Timtam opened this issue Nov 8, 2024 · 3 comments
Closed

Help with background tasks needed (no obvious example) #172

Timtam opened this issue Nov 8, 2024 · 3 comments

Comments

@Timtam
Copy link

Timtam commented Nov 8, 2024

Hello there,

i'm starting all fresh into the world of developing VST/CLAP plugins, and since Rust is currently my goto language of choice, I'd really like to take on the challenge with nih-plug.

My plugin idea requires to read incoming data (most likely via a separate background thread), and feed that data back via the main audio processing thread in nih-plug. I noticed that nih-plug offers support for background tasks via the BackgroundTask type, but all plugins, examples and full-featured ones, don't seem to use this one. I wasn't able to dig up an example that I could try to wrap my head around to get an idea how I can approach my problem.
Do you have any idea where I can take a look at?

Thank you.

@dathinaios
Copy link

Hello,

Just in case you are not aware the best place to ask questions is the Rust Audio discord. It has a channel for nih-plug. Here is an invite link:

https://discord.gg/7VpsKvA9

@ardura
Copy link

ardura commented Nov 12, 2024

There's a PR with an example, maybe that is helpful?
#106

@Timtam
Copy link
Author

Timtam commented Nov 20, 2024

Thank you, I joined the discord and the PR does help with my issue, therefore closing it :).

@Timtam Timtam closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants