Multimedia I/O library for D
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
Input-output (audio, controls, etc) library for D. Intended as a D language native replacement for SDL, SFML, etc.
|Audio||Preliminary, output stream works||Output works + some issues|
|MIDI||Input+Output, with some caveat||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|
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.
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.
Audio is tested and confirmed working on 64 bit Raspberry Pi devices, which probably means all 64 bit ARM SoCs are supported under Linux.
Both input and output works, but might suffer from some caveat that stems from the Windows MIDI API. There's a chance that calling a MIDI system function within the MIDI input callback will cause a lockup.
Preliminary work on keyboard, mouse, etc. controls have been started.
testsource/app.d for audio!
- Registered by László Szerémi
- 0.2.0 released 7 months ago
- Copyright © 2021, laszl
- Sub packages:
- iota:audiotest, iota:miditest
0.2.0 2022-Mar-11 0.1.0 2021-Dec-27 0.1.0-alpha 2021-Dec-21 ~main 2022-Sep-28
- Download Stats:
0 downloads today
0 downloads this week
1 downloads this month
14 downloads total
- Short URL: