fixed mismatched types in emscipten set_timeout
This commit is contained in:
parent
4ce12a69b9
commit
f285389002
|
@ -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…
Reference in New Issue