feat: play audio with wasm cpal backend

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-03-21 23:20:13 +03:00
parent 5aafa9befd
commit 5309d38c6c
2 changed files with 124 additions and 12 deletions

View file

@ -6,9 +6,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-std = "1.12.0"
anyhow = "1.0.81"
cpal = { version = "0.15.3", features = ["wasm-bindgen"] }
dioxus = { version = "0.5.0-alpha.0", features = ["web"] }
log = "0.4.21"
reqwest = { version = "0.11.24", features = ["json"] }
serde = { version = "1.0.197", features = ["derive"] }
tokio_with_wasm = "0.4.3"
wasm-logger = "0.2.0"