On Monday, 26 October 2015 at 21:25:58 UTC, Cleverson wrote:
Hello,
Is there any library or module for easily managing basic audio
functions, e.g., play/pause/stop a sound? I can't find it
amongst the standard library and the packages colection, or
maybe I don't know how to search properly, since I'm new to D
and its ecosystem.
Thank you,
Cleverson
There doesn't seem to be a pure D solution but bindings to
existing C or C++ libraries do exist.
- SDL_mixer through DerelictSDL2:
http://code.dlang.org/packages/derelict-sdl2 (is an extension of
SDL).
- FMOD through DerelictFMOD:
http://code.dlang.org/packages/derelict-fmod (not free for
commercial use)
- BASS through DerelictBASS:
http://code.dlang.org/packages/derelict_extras-bass (not free for
commercial use)