Mercurial > games > semicongine
comparison tests/test_audio.nim @ 1427:676fc13685a9
did: restructure files and imports
| author | sam <sam@basx.dev> |
|---|---|
| date | Sat, 11 Jan 2025 14:04:39 +0700 |
| parents | 3b8a736c45a7 |
| children |
comparison
equal
deleted
inserted
replaced
| 1426:075e4197bc95 | 1427:676fc13685a9 |
|---|---|
| 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 ../semicongine | 5 import ../semicongine |
| 6 import ../semicongine/audio | |
| 7 import ../semicongine/loaders | |
| 6 | 8 |
| 7 proc test1() = | 9 proc test1() = |
| 8 addSound("test1", sineSoundData(1000, 2, 44100)) | 10 addSound("test1", sineSoundData(1000, 2, 44100)) |
| 9 addSound("test2", sineSoundData(500, 2, 44100)) | 11 addSound("test2", sineSoundData(500, 2, 44100)) |
| 10 | 12 |
