WIP: Preparing the codebase, nothing important

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-22 20:31:38 +01:00
parent a9efa652ef
commit 20fe694a8f
10 changed files with 368 additions and 0 deletions

8
engine/Cargo.toml Normal file
View 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
View 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!");
}