Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 26, 2015 Playing audio files and related functions? | ||||
---|---|---|---|---|
| ||||
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 |
October 26, 2015 Re: Playing audio files and related functions? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cleverson | Forgot to say, it may be for Windows only, in case a portable version isn't available. |
October 26, 2015 Re: Playing audio files and related functions? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cleverson | 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) |
October 26, 2015 Re: Playing audio files and related functions? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cleverson | 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
And there is DerelictAL for OpenAL.
|
October 27, 2015 Re: Playing audio files and related functions? | ||||
---|---|---|---|---|
| ||||
Posted in reply to WhatMeWorry | Thanks all for the answers, I'll investigate all. |
Copyright © 1999-2021 by the D Language Foundation