[fpc-pascal] playing sound files (linux and windows)

Schindler Karl-Michael karl-michael.schindler at physik.uni-halle.de
Mon Jun 14 18:00:37 CEST 2010


Hi Graeme

Am 14.06.2010 um 15:37 schrieb Graeme Geldenhuys:

> Hi,
> 
> Has anybody managed to play sound files under both Linux and Windows?
> Does FPC have a cross-platform API or FCL class for this?

UltraStarDeluxe uses ffmpeg for decoding and portaudio, a C library, for playback of the stream. Corresponding headers are here:

http://ultrastardx.svn.sourceforge.net/viewvc/ultrastardx/trunk/src/lib/

> If so, what sound format's are supported?  ogg, wav, mp3?

yes, and probably even more.

> Regards,
>  - Graeme -

Greetings - Michael.




More information about the fpc-pascal mailing list