Ajout d'un decodeur ogg et opus vers pcm

This commit is contained in:
2025-10-27 19:25:51 +01:00
parent ab0d42a5c0
commit b99cfcbb51
10 changed files with 1280 additions and 203 deletions

22
Cargo.lock generated
View File

@@ -169,6 +169,17 @@ version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "audiopus_sys"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62314a1546a2064e033665d658e88c620a62904be945f8147e6b16c3db9f8651"
dependencies = [
"cmake",
"log",
"pkg-config",
]
[[package]]
name = "autocfg"
version = "1.5.0"
@@ -2551,6 +2562,16 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
[[package]]
name = "opus"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6526409b274a7e98e55ff59d96aafd38e6cd34d46b7dbbc32ce126dffcd75e8e"
dependencies = [
"audiopus_sys",
"libc",
]
[[package]]
name = "os_info"
version = "3.12.0"
@@ -2786,6 +2807,7 @@ dependencies = [
"libc",
"libflac-sys",
"minimp3",
"opus",
"tempfile",
"thiserror 1.0.69",
"tokio",