Skip to content

Commit 953b73b

Browse files
committed
sdl3 and projectm updates
1 parent b436ccc commit 953b73b

File tree

3 files changed

+32
-36
lines changed

3 files changed

+32
-36
lines changed

Cargo.lock

+28-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ rust-version = "1.68.2"
66

77
[dependencies]
88
libc = "*"
9-
projectm = { path = "../projectm-rs", version = "3", features = ["playlist"] }
10-
#projectm = { version = "2.0.2", features = ['playlist'] }
11-
#sdl3 = { version = "0.10.8", features = ["build-from-source"] }
12-
sdl3 = { path = "../../sdl3-rs", version = "0", features = ["build-from-source"] }
9+
#projectm = { path = "../projectm-rs", version = "3", features = ["playlist"] }
10+
projectm = { version = "3", features = ['playlist'] }
11+
sdl3 = { version = "0.11", features = ["build-from-source-static"] }
12+
#sdl3 = { path = "../../sdl3-rs", version = "0", features = ["build-from-source"] }
1313
rand = "0.8.5"
1414
include_dir = "0.7"
1515

src/app/audio.rs

-2
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,9 @@ impl Audio {
191191
Ok(samples_read) => {
192192
if samples_read == 0 {
193193
// No more data to read; exit the loop
194-
// println!("No more audio data to read. Exiting loop.");
195194
break;
196195
}
197196

198-
// println!("Read {} samples", samples_read);
199197
// Add the read samples to ProjectM for processing
200198
self.projectm
201199
.pcm_add_float(&sample_buf[..samples_read], CHANNELS);

0 commit comments

Comments
 (0)