Forum > General

Play wav or mp3 in lazarus-linux?

(1/1)

luk2009:
I want to play wav or mp3  files with lazarus-linux. What should I do?

I have installed ACS components, but not how to use them, and the examples they give me many errors.



davesimplewear:
I have found the MPlayer2 component easy to use for this.

Regards
Dave

luk2009:
where I can  found this component?

in Lazarus Windows i use this command:

PlaySoundW('c:\monitoreo\1\police.wav', 0, 0);

and in uses: 
mmsystem

i need something like that.  tellme what can i do?

davesimplewear:
you will need the mplayer for windows program and if you pm me your email address I will send the mplayer2 to you, don't remember the url.
The mplayer for windows is available at http://www.mplayerhq.hu/design7/dload.html

Regards
Dave

luk2009:
thanks for all

I have it installed. Probe the example and works well.
I am going to try it with my application and tell them how I was.


Thanks again. :)

Navigation

[0] Message Index

Go to full version