[fpc-pascal] playing sound files (linux and windows)
Henry Vermaak
henry.vermaak at gmail.com
Mon Jun 14 17:31:00 CEST 2010
On 14 June 2010 15:59, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> On 14/06/2010, Alexander Grau wrote:
>>
>> If someone would like to add a PlaySoundFile API to LCL/FPC, drop me a
>> note and we will donate the Mac code for it :-) ...
>
> Thanks for that. A quick test removing the SND_ASYNC option plays
> multiple sound files in quick succession - just what I wanted. I'll
> experiment with libsndfile tomorrow, to see if I can accomplish the
> same under Linux.
Note that the fpc libsndfile example is outdated (it uses oss). There
is an example in the libsndfile source for how to play this with alsa.
If you're not worried about gpl, then I'd probably use libao.
More information about the fpc-pascal
mailing list