iota 0.1.0
Multimedia I/O library for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
iota
Input-output (audio, controls, etc) library for D. Intended as a D language native replacement for SDL, SFML, etc.
Current state
Component | Windows | Linux |
---|---|---|
Audio | Preliminary, output stream works | Output works + some issues |
MIDI | Not yet implemented | Not yet implemented |
Keyboard | Not yet implemented | Not yet implemented |
Mouse | Not yet implemented | Not yet implemented |
Pen Tablet | Not yet implemented | Not yet implemented |
Game controllers | Not yet implemented | Not yet implemented |
Audio
Windows
Only WASAPI output is supported at the moment, but it seems to work correctly. Buffer overflow protection is done through spinning in a loop alongside with the wait. It's not nice, but works, and eliminates possible issues from inconsistent buffer sizes.
Deinitialization is automatic through destructors and bug free. Windows-specific error-codes are handled as should.
Linux
Error handling is quite preliminary with one having to rely on returned error codes. ALSA documentation is quite scarce, and often don't contain more than what one can get out from function names, let alone the possible returned error codes. Device selection might contain non-PCM devices, so initializing with default device (-1) is recommended instead for now.
Examples
See testsource/app.d
for audio!
- Registered by László Szerémi
- 0.1.0 released 3 years ago
- ZILtoid1991/iota
- BSL-1.0
- Copyright © 2021, laszl
- Authors:
- Sub packages:
- iota:test
- Dependencies:
- bitleveld
- Versions:
-
0.4.0-alpha 2024-Nov-05 0.3.2 2024-Oct-19 0.3.1 2024-Oct-13 0.3.0 2024-Sep-28 0.3.0-beta.2 2024-Jun-19 - Download Stats:
-
-
0 downloads today
-
1 downloads this week
-
10 downloads this month
-
113 downloads total
-
- Score:
- 1.1
- Short URL:
- iota.dub.pm