diff tests/test_audio.nim @ 1139:114f395b9144

did: finish refactoring and updated all tests accordingly
author sam <sam@basx.dev>
date Sat, 08 Jun 2024 14:58:25 +0700
parents a4aa9f374d44
children
line wrap: on
line diff
--- a/tests/test_audio.nim	Tue Jun 04 22:08:48 2024 +0700
+++ b/tests/test_audio.nim	Sat Jun 08 14:58:25 2024 +0700
@@ -62,7 +62,7 @@
     sleep(1)
 
 proc test3() =
-  mixer[].AddSound("toccata et fugue", loadAudio("toccata_et_fugue.ogg"))
+  mixer[].AddSound("toccata et fugue", LoadAudio("toccata_et_fugue.ogg"))
   mixer[].AddSound("ping", NewSound(SineSoundData(500, 0.05, 44100)))
   mixer[].AddTrack("effects")
   discard mixer[].Play("toccata et fugue")