Anyone interested in simpleaudio.d too?

Michel Fortin michel.fortin at michelf.com
Tue Apr 12 04:44:39 PDT 2011


On 2011-04-12 07:18:39 -0400, Daniel Gibson <metalcaedes at gmail.com> said:

> Also you shouldn't write directly against OSS or ALSA but use SDL or
> OpenAL or libao or ... instead.

The problem with intermediary libraries is that they require work on 
the programmer side to work. I think there is value in being able to 
write a simple program just by importing std.simpleaudio and having it 
work instantly without having to install any library or play with 
linker flags (which will be handled by pragma(lib) if you let DMD 
handle the linker). And it's also easier to distribute your app if it 
doesn't depend on dynamic libraries not installed by default on the 
system.

I'm not saying those libraries are not useful, only that they come with 
some complications.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list