Skip to content

Commit

Permalink
synthizer/worker_pool: a worker pool for periodically ticking tasks i…
Browse files Browse the repository at this point in the history
…n the background in sync with an audio thread
  • Loading branch information
ahicks92 committed Dec 3, 2023
1 parent ce70a88 commit d1db97b
Show file tree
Hide file tree
Showing 5 changed files with 414 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ prost-build = "0.11.2"
quote = "1.0.21"
rand = "0.8.5"
rand_xoshiro = "0.6.0"
rayon = "1.8.0"
reciprocal = "0.1.2"
sharded-slab = "0.1.4"
smallvec = "1.10.0"
Expand Down
2 changes: 2 additions & 0 deletions crates/synthizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ derivative.workspace = true
derive_more.workspace = true
enum_dispatch.workspace = true
im.workspace = true
log.workspace = true
paste.workspace = true
num.workspace = true
rand.workspace = true
rand_xoshiro.workspace = true
rayon.workspace = true
sharded-slab.workspace = true
smallvec.workspace = true
thiserror.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/synthizer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub mod properties;
pub mod sample_sources;
pub(crate) mod server;
mod unique_id;
mod worker_pool;

pub use channel_format::*;
pub use config::SR;
Expand Down
Loading

0 comments on commit d1db97b

Please sign in to comment.