Mercurial > games > semicongine
comparison tests/test_audio.nim @ 1267:4cf9872f7bb6
did: rename back to old name (no v2)
| author | sam <sam@basx.dev> |
|---|---|
| date | Sun, 28 Jul 2024 23:10:57 +0700 |
| parents | 27cd1c21290e |
| children | 3308b88e53a6 |
comparison
equal
deleted
inserted
replaced
| 1266:9e4dc93d4fa9 | 1267:4cf9872f7bb6 |
|---|---|
| 1 import std/os | 1 import std/os |
| 2 import std/sequtils | 2 import std/sequtils |
| 3 import std/times | 3 import std/times |
| 4 | 4 |
| 5 import ../semiconginev2 | 5 import ../semicongine |
| 6 | 6 |
| 7 | 7 |
| 8 proc test1() = | 8 proc test1() = |
| 9 mixer[].AddSound("test1", SineSoundData(1000, 2, 44100)) | 9 mixer[].AddSound("test1", SineSoundData(1000, 2, 44100)) |
| 10 mixer[].AddSound("test2", SineSoundData(500, 2, 44100)) | 10 mixer[].AddSound("test2", SineSoundData(500, 2, 44100)) |
