I have a multi-platform application written in Free Pascal. This application plays a short sound at some event. On Windows, I can do this using MMSystem and sndPlaySound ("sound.wav"). However, I do not know how to do this on Linux without external libraries.
I have a decision to play with SDL and OpenAL, but I do not want any dependency on these libraries to produce one short sound. Is there a Linux command line player that is used by default for most distributions? The file format does not matter; I will transform it.
source share