feat(audio): add Opus playback via symphonia-adapter-libopus

Wire a lazy CodecRegistry built with symphonia::default::register_enabled_codecs
plus symphonia_adapter_libopus::OpusDecoder for SizedDecoder and radio decoders.

Raise package rust-version to 1.89 to match the MSRV required by
symphonia-adapter-libopus.
This commit is contained in:
Maxim Isaev
2026-04-14 22:17:29 +03:00
parent 915f0143f7
commit 1ff4f1ef0f
3 changed files with 47 additions and 5 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ license = ""
repository = ""
default-run = "psysonic"
edition = "2021"
rust-version = "1.77.2"
rust-version = "1.89"
[lib]
name = "psysonic_lib"
@@ -46,6 +46,7 @@ url = "2"
thread-priority = "1"
lofty = "0.22"
id3 = "1.16.4"
symphonia-adapter-libopus = "0.2.7"
[target.'cfg(unix)'.dependencies]
libc = "0.2"