diff tests/test_audio.nim @ 212:77755701bf49

fix: tests
author Sam <sam@basx.dev>
date Tue, 09 May 2023 20:39:49 +0700
parents 88198b0afacc
children 972caf83930d
line wrap: on
line diff
--- a/tests/test_audio.nim	Tue May 09 19:52:57 2023 +0700
+++ b/tests/test_audio.nim	Tue May 09 20:39:49 2023 +0700
@@ -62,7 +62,7 @@
 
 proc test3() =
   var song: SoundData
-  var f = open("tests/audiotest.PCM.s16le.48000.2")
+  var f = open("./tests/audiotest.PCM.s16le.48000.2")
   var readLen = 999
   while readLen > 0:
     var sample: Sample
@@ -85,6 +85,5 @@
   mixer[].stop()
   test2()
   mixer[].stop()
-  while true:
-    test3()
-    mixer[].stop()
+  # test3() # only run this manually, not in automated tests
+  # mixer[].stop()