Mercurial > games > semicongine
comparison src/semicongine/platform/linux/audio.nim @ 206:7f921d7d0a2b
did: small refactoring of module structure
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 09 May 2023 01:11:51 +0700 |
parents | bfbadd0758c6 |
children |
comparison
equal
deleted
inserted
replaced
205:24d18cd8be8a | 206:7f921d7d0a2b |
---|---|
1 import ../../audiotypes | 1 import ../../core |
2 | 2 |
3 # alsa API | 3 # alsa API |
4 type | 4 type |
5 OpenMode*{.size: sizeof(culong).} = enum | 5 OpenMode*{.size: sizeof(culong).} = enum |
6 SND_PCM_BLOCK = 0x00000000 # added by semicongine, for clarity | 6 SND_PCM_BLOCK = 0x00000000 # added by semicongine, for clarity |