Skip to content

Commit

Permalink
fix compile error on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
tesselode committed Jan 4, 2025
1 parent 4625bd2 commit cbab675
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/kira/src/backend/cpal/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ impl Backend for CpalBackend {

type Error = Error;

fn setup(settings: Self::Settings) -> Result<(Self, u32), Self::Error> {
fn setup(
settings: Self::Settings,
_internal_buffer_size: usize,
) -> Result<(Self, u32), Self::Error> {
let host = cpal::default_host();
let device = if let Some(device) = settings.device {
device
Expand Down

0 comments on commit cbab675

Please sign in to comment.