Skip to content

Commit 31731ef

Browse files
authored
Audio streams (#11)
* update sdl3 * Using SDL3 audio stream API better * fix cycling between audio devices, using device name not ID since ID changes when opening * reading samples each frame * sdl3 and projectm updates
1 parent 3dd1c78 commit 31731ef

File tree

6 files changed

+227
-160
lines changed

6 files changed

+227
-160
lines changed

.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[env]
22
# use pipewire for audio
3-
SDL_AUDIODRIVER = "pipewire"
3+
#SDL_AUDIODRIVER = "pipewire"

Cargo.lock

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

Cargo.toml

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

77
[dependencies]
88
libc = "*"
9-
#projectm = { path = "../projectm-rs", version = "2.0.2", features = ["playlist"] }
10-
projectm = { version = "2.0.2", features = ['playlist'] }
11-
sdl3 = { 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"] }
1212
#sdl3 = { path = "../../sdl3-rs", version = "0", features = ["build-from-source"] }
1313
rand = "0.8.5"
1414
include_dir = "0.7"

0 commit comments

Comments
 (0)