[fpc-pascal] playing sound files (linux and windows)
dmitry boyarintsev
skalogryz.lists at gmail.com
Mon Jun 14 18:28:33 CEST 2010
On Mon, Jun 14, 2010 at 5:37 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> Has anybody managed to play sound files under both Linux and Windows?
> Does FPC have a cross-platform API or FCL class for this?
I'd offer using OpenAL, however it requires proper libraries to be
installed on Linux (afaik installed by default in all modern desktop
distribs), and proper .dlls available for Windows.
There's proper example in FCL how to use OpenAL to play .wav, .ogg .mp3 files.
thanks,
dmitry
More information about the fpc-pascal
mailing list