Recent

Author Topic: ----Help with ACS----  (Read 7309 times)

albino

  • New member
  • *
  • Posts: 7
----Help with ACS----
« on: March 19, 2008, 02:08:46 am »
--- Help with ACS ---
Hello, I tried to install ACS  on Windows Lazarus but I couln't. I get a message when  I install or compile the package.

ErrorCheck( FxAudioMediaStream.GetFormat(FxFormat) );

I read that FMOD works but I am a beginner and I don't know how to install it.

I have Pentium II, windows 98. Can somebody help me please?
Thanks.

OnixJr

  • Full Member
  • ***
  • Posts: 172
    • http://www.brlazarus.kit.net
RE: ----Help with ACS----
« Reply #1 on: April 08, 2008, 02:09:57 am »
The source code compiles normally for me... (Windows XP + Lazarus 0.9.25 +  FPC 2.2.0)

Can you get last version of ACS via SVN? It's here: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/acs (use TortoiseSVN for windows)

Regards,
Júnior
Portal Lazarus Brasil - http://lazaruspascal.codigolivre.org.br/portal.php
Lazarus BOOK (in portuguese) - http://lazarus-book.blogspot.com
<hipernetjr@yahoo.com.br> - Curitiba/Brazil

albino

  • New member
  • *
  • Posts: 7
Turtoise
« Reply #2 on: April 08, 2008, 06:46:05 am »
Hi Júnior:

Thanks for your help, now I understand my problem with .lrs files and .res files . I will get TortoiseSVN and I will install ACS again.

Thanks a lot.

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: ----Help with ACS----
« Reply #3 on: March 23, 2009, 04:06:16 pm »
I get a message when  I install or compile the package.

ErrorCheck( FxAudioMediaStream.GetFormat(FxFormat) );

Got the same error in Lazarus 0.9.26 w/ ACS 2.4 on Win32. Workaround: edit file ACS\Src\fileformats\acs_dsfiles.pas, lines 148 and 150, as follows:

find
 
Code: [Select]
FxAudioData.SetFormat(FxFormat)
replace with
 
Code: [Select]
FxAudioData.SetFormat(_WAVEFORMATEX(FxFormat))
After these changes I could install the package normally and the Player demo works as expected (played mp3 files). You still need to copy the required lib(s) (dll(s) from files.zip) to the directory where your executable is located (or just copy them all).
« Last Edit: March 23, 2009, 04:12:16 pm by Troodon »
Lazarus/FPC on Linux

maamardli

  • Newbie
  • Posts: 1
    • My facebook
Re: ----Help with ACS----
« Reply #4 on: April 14, 2009, 12:13:33 am »
Helo!
thank you for the advice,
I've done what you said, and it did work, the package installed, and I copied the dll files, but the demos did not work;
If you want, I really can use a help here!
Thank you again
btw: this is my first participation in this forum!!!

 

TinyPortal © 2005-2018