mirror of
https://github.com/Dummi26/musicdb.git
synced 2026-01-08 13:47:41 +01:00
change player backend from rodio to playback-rs
because rodio struggled to load some (possibly broken, but still playable) audio files. this is not perfect and sometimes suffers from small lags, and it uses song_finished_polling instead of being event-driven.
This commit is contained in:
@@ -6,11 +6,14 @@ edition = "2021"
|
||||
[dependencies]
|
||||
base64 = "0.22.1"
|
||||
colorize = "0.1.0"
|
||||
playback-rs = { version = "0.4.3", optional = true }
|
||||
rand = "0.8.5"
|
||||
rc-u8-reader = "2.0.16"
|
||||
rodio = { version = "0.18.0", optional = true }
|
||||
sysinfo = "0.30.12"
|
||||
|
||||
[features]
|
||||
# default = ["playback"]
|
||||
playback = ["dep:rodio"]
|
||||
default = ["playback"]
|
||||
playback = ["playback-via-playback-rs"]
|
||||
playback-via-playback-rs = ["dep:playback-rs"]
|
||||
playback-via-rodio = ["dep:rodio"]
|
||||
|
||||
Reference in New Issue
Block a user