Am 08.07.2012 16:32, schrieb Namespace:
On Sunday, 8 July 2012 at 13:42:39 UTC, Benjamin Thaut wrote:
Am 08.07.2012 12:03, schrieb Namespace:
Has anyone experience with reading of .Ogg or .Mp3 files and can give me
a briefing?
Or does anyone know if sndfile.h was ported to D?

I'm using libvorbis to read and OpenAL to playback .ogg files. The
functions you need to import are really minimal. There are good
samples on the vorbis side how to read in ogg files and openal is also
not really complicated. I can post code if you want.

Kind Regards
Ingrater

Yes .ogg files and even .wav works since today. But reading mp3 should
be even simple as .ogg files, or not?

Well .ogg and .mp3 are quite similar in compression technology. But you will need a mp3 library to read them. I don't know a opensource one.

Reply via email to