Skip to content

add cpu usage measurement (desktop only for now) #341

add cpu usage measurement (desktop only for now)

add cpu usage measurement (desktop only for now) #341

GitHub Actions / wasm32 - with cpal feature failed Dec 27, 2024 in 0s

wasm32 - with cpal feature

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 32 in crates/kira/src/manager/backend/cpal/wasm.rs

See this annotation in the file changed.

@github-actions github-actions / wasm32 - with cpal feature

method `setup` has 1 parameter but the declaration in trait `manager::backend::Backend::setup` has 2

error[E0050]: method `setup` has 1 parameter but the declaration in trait `manager::backend::Backend::setup` has 2
  --> crates/kira/src/manager/backend/cpal/wasm.rs:32:21
   |
32 |       fn setup(settings: Self::Settings) -> Result<(Self, u32), Self::Error> {
   |                          ^^^^^^^^^^^^^^ expected 2 parameters, found 1
   |
  ::: crates/kira/src/manager/backend.rs:34:13
   |
34 |           settings: Self::Settings,
   |  ___________________-
35 | |         internal_buffer_size: usize,
   | |___________________________________- trait requires 2 parameters