Mercurial > games > semicongine
comparison tests/test_audio.nim @ 407:ffc265916415
did: improve/refactor some of the material API
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 03 Jan 2024 11:19:55 +0700 |
parents | 728426157221 |
children | 545b4c58601f |
comparison
equal
deleted
inserted
replaced
406:7d926cc81620 | 407:ffc265916415 |
---|---|
71 discard mixer[].play("ping", track="effects", stopOtherSounds=true, level=0.5) | 71 discard mixer[].play("ping", track="effects", stopOtherSounds=true, level=0.5) |
72 discard stdin.readLine() | 72 discard stdin.readLine() |
73 | 73 |
74 when isMainModule: | 74 when isMainModule: |
75 startMixerThread() | 75 startMixerThread() |
76 # test1() | 76 test1() |
77 mixer[].stop() | |
78 test2() | |
79 mixer[].stop() | |
80 # test3() | |
77 # mixer[].stop() | 81 # mixer[].stop() |
78 # test2() | |
79 # mixer[].stop() | |
80 test3() | |
81 mixer[].stop() |