WIP: Preparing the codebase, nothing important
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
8
engine/Cargo.toml
Normal file
8
engine/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "engine"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
jack = "0.13.3"
|
||||
lib = { path = "../lib/" }
|
||||
18
engine/src/main.rs
Normal file
18
engine/src/main.rs
Normal file
@@ -0,0 +1,18 @@
|
||||
use lib;
|
||||
|
||||
fn main() {
|
||||
/*
|
||||
* Engine should run and wait for commands,
|
||||
* but currently I need to implement the multitrack
|
||||
* audio player somehow
|
||||
*
|
||||
*
|
||||
* for track in tracks {
|
||||
* if track.is_region_playing(now: time) {
|
||||
* let current_region = track.get_current_region(now: time)
|
||||
* let audio = current_region.get_data(now: time)
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user