Recent

Author Topic: Play wav or mp3 in lazarus-linux?  (Read 8215 times)

luk2009

  • Jr. Member
  • **
  • Posts: 51
Play wav or mp3 in lazarus-linux?
« on: June 12, 2010, 04:52:32 am »
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.



« Last Edit: June 12, 2010, 09:23:54 pm by luk2009 »

davesimplewear

  • Sr. Member
  • ****
  • Posts: 319
    • Davids Freeware
Re: Play wav or mp3 in lazarus?
« Reply #1 on: June 12, 2010, 07:00:39 pm »
I have found the MPlayer2 component easy to use for this.

Regards
Dave
All things considered insanity seems the best option

luk2009

  • Jr. Member
  • **
  • Posts: 51
Re: Play wav or mp3 in lazarus-linux?
« Reply #2 on: June 12, 2010, 09:34:33 pm »
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

  • Sr. Member
  • ****
  • Posts: 319
    • Davids Freeware
Re: Play wav or mp3 in lazarus-linux?
« Reply #3 on: June 12, 2010, 11:40:31 pm »
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
All things considered insanity seems the best option

luk2009

  • Jr. Member
  • **
  • Posts: 51
Re: Play wav or mp3 in lazarus-linux?
« Reply #4 on: June 13, 2010, 08:10:19 am »
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. :)

 

TinyPortal © 2005-2018