mirror of
https://github.com/exoticorn/microw8.git
synced 2026-06-27 21:39:38 +02:00
fix sndGes name & add missing auto-import
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user