fix sndGes name & add missing auto-import

This commit is contained in:
2023-01-23 23:21:45 +01:00
parent 8d5374a867
commit daf2a02cd8
10 changed files with 8 additions and 5 deletions

View File

@@ -314,7 +314,7 @@ fn init_sound(
let snd = instance
.get_typed_func::<(i32,), f32, _>(&mut store, "snd")
.or_else(|_| platform_instance.get_typed_func::<(i32,), f32, _>(&mut store, "gesSnd"))?;
.or_else(|_| platform_instance.get_typed_func::<(i32,), f32, _>(&mut store, "sndGes"))?;
let host = cpal::default_host();
let device = host