-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ykong1337/dev
feat: 实现手动调节偏移和自定义音轨
- Loading branch information
Showing
9 changed files
with
343 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "lyred" | ||
version = "1.1.0" | ||
version = "1.2.0" | ||
edition = "2021" | ||
build = "build.rs" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
use std::sync::Arc; | ||
use std::sync::atomic::AtomicBool; | ||
|
||
use once_cell::sync::Lazy; | ||
use rayon::{ThreadPool, ThreadPoolBuilder}; | ||
|
||
pub mod convert; | ||
pub mod font; | ||
pub mod maps; | ||
pub mod midi; | ||
pub mod ui; | ||
|
||
pub static SPACE: AtomicBool = AtomicBool::new(false); | ||
pub static CTRL: AtomicBool = AtomicBool::new(false); | ||
pub static BACK: AtomicBool = AtomicBool::new(false); | ||
|
||
pub static POOL: Lazy<Arc<ThreadPool>> = Lazy::new(|| { | ||
let pool = ThreadPoolBuilder::new() | ||
.num_threads(2) | ||
.build() | ||
.unwrap(); | ||
Arc::new(pool) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.