diff options
author | sanine <sanine.not@pm.me> | 2023-02-26 16:18:20 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-26 16:18:20 -0600 |
commit | 265c381d5f10dd552dfc9b8f49430ff4b2e8ca04 (patch) | |
tree | de41180c4ff6f723add47bd700eba3844798e213 /demo/fancy | |
parent | 231bab5db23e5be996b3ff0733d3ebd8d1cbbc96 (diff) |
bind (almost) all miniaudio functions
Diffstat (limited to 'demo/fancy')
-rw-r--r-- | demo/fancy/main.lua (renamed from demo/fancy/honey.lua) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/fancy/honey.lua b/demo/fancy/main.lua index 5a93a0e..54472c5 100644 --- a/demo/fancy/honey.lua +++ b/demo/fancy/main.lua @@ -4,8 +4,8 @@ local window = honey.window --===== initialize audio =====-- -local engine = honey.audio.engine_init() -honey.audio.engine_play_sound(engine, 'example_sound.ogg') +local result, engine = honey.ma.engine_init({}) +honey.ma.engine_play_sound(engine, 'example_sound.ogg', nil) --====== initialize opengl ======-- @@ -314,6 +314,6 @@ end window.destroy(w) gl.Terminate() -honey.audio.engine_uninit(engine) +honey.ma.engine_uninit(engine) --image.surface_destroy(surface) --image.context_destroy(cr) |