On 15 June 2010 08:37, Alexander Grau <a...@grauonline.de> wrote: > > For Linux, I think it can be simple as opening a file and writing the raw > audio data to it - using a simple WAV header reader or even an MP3 decoder > for FPC, it should be possible to directly use the sound device (/dev/dsp):
Note that OSS is deprecated, so this solution won't last very long. > I think for getting a simple playSoundFile() API to FPC/LCL on all > platforms, dependencies to 3rd-party libs can be avoided. If you want you program to be a good desktop citizen, you should talk directly to the sound daemon (pulse on gnome, phonon on kde?). Henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal