fixed mismatched types in emscipten set_timeout
This commit is contained in:
parent
4ce12a69b9
commit
f285389002
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ fn audio_callback_fn<D, E>(
|
||||||
// and there may be underflows
|
// and there may be underflows
|
||||||
set_timeout(
|
set_timeout(
|
||||||
|| audio_callback_fn::<D, E>(user_data_ptr, config, sample_format, buffer_size_frames),
|
|| audio_callback_fn::<D, E>(user_data_ptr, config, sample_format, buffer_size_frames),
|
||||||
buffer_size_frames * 1000 / sample_rate,
|
buffer_size_frames as u32 * 1000 / sample_rate,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue