Firebird News

Sunday, June 06, 2010

playing ogg with SDL and freepascal

I have found this example for playing wav/ogg with sdl mixer using the pascal language

on ubuntu debian all you need is fpc/lazarus and then
install libsdl1.2-dev headers and shared library

sudo apt-get install libsdl1.2-dev
also you need the mixer

sudo apt-get install libsdl-mixer1.2-dev


fpc chap7.pas

also you need the samples
In my mind.ogg and dial.wav


No comments: