feat: support configuring audio channels and sample rates of recordings; audio recordings now work!

This commit is contained in:
2026-04-15 01:22:38 -04:00
parent b457375e69
commit 33a7b15720
5 changed files with 127 additions and 15 deletions

27
Cargo.lock generated
View File

@@ -1751,12 +1751,14 @@ dependencies = [
"futures",
"hound",
"opendal",
"opus2",
"patricia_tree 0.10.1",
"rhai",
"rustls 0.23.35",
"secrecy 0.10.3",
"snafu",
"songbird",
"strum 0.28.0",
"time",
"tokio",
"tokio-util",
@@ -2321,7 +2323,7 @@ dependencies = [
"hex",
"shorthand",
"stable-vec",
"strum",
"strum 0.17.1",
"thiserror 1.0.69",
]
@@ -6547,7 +6549,16 @@ version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "530efb820d53b712f4e347916c5e7ed20deb76a4f0457943b3182fb889b06d2c"
dependencies = [
"strum_macros",
"strum_macros 0.17.1",
]
[[package]]
name = "strum"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
dependencies = [
"strum_macros 0.28.0",
]
[[package]]
@@ -6562,6 +6573,18 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "strum_macros"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
dependencies = [
"heck 0.5.0",
"proc-macro2",
"quote",
"syn 2.0.111",
]
[[package]]
name = "subtle"
version = "2.6.1"