Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

Errors installing ACS 2.2 Sound component (ACS_Classes.pas)

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter E Williams

Hi All,

I am trying to port ACS 2.2 component [1] and I am not able to install it. See errors_installing.txt. I am using Linux Ubuntu 10.04.

[1] http://www.mtu-net.ru/aborovsky/acs/downloads.htm

Note that I basically want to do something like:

uses
  ACS_Classes;
var
  user_wants_sounds : boolean;
  ACSOutput1 : TACSOutput;
  Tone, Msec : integer;
[...]
if user_wants_sounds then
begin
  ACSOutput1 := TACSOutput.create( self );
  try
    // generate Tone Sound frequency (Hertz) for Msec milliseconds
    // how do I do this ???
    ACSOutput1.Run;
  finally
    ACSOutput1.Destroy;
  end;
end;

Best Regards,
Peter E Williams
Hobart, Tasmania, Australia

Proudly developing Quality Cross Platform Open Source Games Since 1970 with a Commodore PET 4016 with 16 KRAM http://pews-freeware-games.org (<--- brand new) -------------- next part -------------- A non-text attachment was scrubbed... Name: ACS_Classes.pas Type: text/x-pascal Size: 16901 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100904/c301a8e6/attachment.bin> -------------- next part -------------- /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(188,15) Note: Virtual method "TACSFileIn.Reset;" has a lower visibility (protected) than parent class TACSInput (public) /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(237,25) Error: function header doesn't match any method of this class "constructor TACSInput.Create;" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(82,17) Hint: Found declaration: constructor TACSInput.Create(TComponent); /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(239,28) Error: Identifier not found "AOwner" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(278,26) Error: function header doesn't match any method of this class "constructor TACSOutput.Create;" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(124,17) Hint: Found declaration: constructor TACSOutput.Create(TComponent); /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(280,28) Error: Identifier not found "AOwner" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(282,37) Error: Wrong number of parameters specified for call to "DoOutput" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(116,14) Hint: Found declaration: TACSOutput.DoOutput(Boolean):Boolean; /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(283,27) Error: Incompatible types: got "untyped" expected "<procedure variable type of procedure of object;Register>" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(285,52) Error: Wrong number of parameters specified for call to "HandleThreadException" /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(122,15) Hint: Found declaration: TACSOutput.HandleThreadException(Exception); /home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(336,32) Fatal: Syntax error, ":" expected but ";" found

Reply by email

Bihar Anwar
to Peter E Williams

Try ACS v2.4 svn version. I'd done it before with a success. Yes, it cannot be compiled before my trivial fixes to the ACS source, but I forgot what fixes I'd done at the time. Just to tell you my experience, ACS preloading and stopping time is very slow.

However, I've ever saw Graeme start a discussion with a topic "playsound..." or "play music ..." or something like that, maybe that helps.

Earlier message 43 lines
----- Original Message ---- From: Peter E Williams To: "lazarus Mailing List lists.lazarus.freepascal.org " Sent: Sat, September 4, 2010 2:35:06 AM Subject: [Lazarus] Errors installing ACS 2.2 Sound component (ACS_Classes.pas) Hi All, I am trying to port ACS 2.2 component [1] and I am not able to install it. See errors_installing.txt. I am using Linux Ubuntu 10.04. [1] http://www.mtu-net.ru/aborovsky/acs/downloads.htm Note that I basically want to do something like: uses ACS_Classes; var user_wants_sounds : boolean; ACSOutput1 : TACSOutput; Tone, Msec : integer; [...] if user_wants_sounds then begin ACSOutput1 := TACSOutput.create( self ); try // generate Tone Sound frequency (Hertz) for Msec milliseconds // how do I do this ??? ACSOutput1.Run; finally ACSOutput1.Destroy; end; end; Best Regards, Peter E Williams Hobart, Tasmania, Australia -- Proudly developing Quality Cross Platform Open Source Games Since 1970 with a Commodore PET 4016 with 16 KRAM http://pews-freeware-games.org (<--- brand new)

Reply by email

Peter E Williams
to Bihar Anwar

Hi,

Bihar Anwar wrote 8 lines
Try ACS v2.4 svn version. I'd done it before with a success. Yes, it cannot be compiled before my trivial fixes to the ACS source, but I forgot what fixes I'd done at the time. Just to tell you my experience, ACS preloading and stopping time is very slow. However, I've ever saw Graeme start a discussion with a topic "playsound..." or "play music ..." or something like that, maybe that helps.

I went to this page:
http://wiki.lazarus.freepascal.org/ACS#Download

but all I could find was links to individual files. Isn't there somewhere where I can download the ENTIRE archive of it, instead of each bloody individual file!?!?!?!? I would appreciate a link to it.

Best Regards,
PEW
Hobart, Tasmania, Australia

Earlier message 44 lines
----- Original Message ---- > From: Peter E Williams > To: "lazarus Mailing List lists.lazarus.freepascal.org > " > Sent: Sat, September 4, 2010 2:35:06 AM > Subject: [Lazarus] Errors installing ACS 2.2 Sound component (ACS_Classes.pas) > > Hi All, > > I am trying to port ACS 2.2 component [1] and I am not able to install > it. See errors_installing.txt. I am using Linux Ubuntu 10.04. > > [1] http://www.mtu-net.ru/aborovsky/acs/downloads.htm > > Note that I basically want to do something like: > > uses > ACS_Classes; > > var > user_wants_sounds : boolean; > ACSOutput1 : TACSOutput; > Tone, Msec : integer; > [...] > if user_wants_sounds then > begin > ACSOutput1 := TACSOutput.create( self ); > try > // generate Tone Sound frequency (Hertz) for Msec milliseconds > // how do I do this ??? > ACSOutput1.Run; > finally > ACSOutput1.Destroy; > end; > end; > > Best Regards, > Peter E Williams > Hobart, Tasmania, Australia -- Proudly developing Quality Cross Platform Open Source Games Since 1970 with a Commodore PET 4016 with 16 KRAM http://pews-freeware-games.org (<--- brand new)

Reply by email

Jesus Reyes
to Peter E Williams

--- El vie 3-sep-10, Peter E Williams escribi?:

Show quoted text 36 lines
De: Peter E Williams Asunto: Re: [Lazarus] Errors installing ACS 2.2 Sound component (ACS_Classes.pas) A: "Bihar Anwar" Cc: "Lazarus mailing list" Fecha: viernes, 3 de septiembre de 2010, 15:36 Hi, On Fri, 2010-09-03 at 13:16 -0700, Bihar Anwar wrote: > Try ACS v2.4 svn version. I'd done it before with a success. Yes, it cannot be > compiled before my trivial fixes to the ACS source, but I forgot what fixes I'd > done at the time. Just to tell you my experience, ACS preloading and stopping > time is very slow. > > However, I've ever saw Graeme start a discussion with a topic "playsound..." or > "play music ..." or something like that, maybe that helps. > I went to this page: http://wiki.lazarus.freepascal.org/ACS#Download but all I could find was links to individual files. Isn't there somewhere where I can download the ENTIRE archive of it, instead of each bloody individual file!?!?!?!? I would appreciate a link to it. Best Regards, ??? PEW Hobart, Tasmania, Australia

I modified the info in the wiki a bit to be more useful.

ok, was in the clipboard :) here is: http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/acs/

Jesus Reyes A.

Reply by email

waldo kitty
to Peter E Williams: I went to this page: http://wiki.lazarus.freepascal.org/ACS#Download but all I could find…
Peter E Williams wrote 18 lines
Hi, On Fri, 2010-09-03 at 13:16 -0700, Bihar Anwar wrote: > Try ACS v2.4 svn version. I'd done it before with a success. Yes, it cannot be > compiled before my trivial fixes to the ACS source, but I forgot what fixes I'd > done at the time. Just to tell you my experience, ACS preloading and stopping > time is very slow. > > However, I've ever saw Graeme start a discussion with a topic "playsound..." or > "play music ..." or something like that, maybe that helps. > I went to this page: http://wiki.lazarus.freepascal.org/ACS#Download but all I could find was links to individual files. Isn't there somewhere where I can download the ENTIRE archive of it, instead of each bloody individual file!?!?!?!? I would appreciate a link to it.

hey man... sometimes we oldtimers gotta eat the shit the these n00bie coders spew out because they simply do not understand where we come from... in many cases, they are jaundiced by their own problems and insecurities and thus they simply rely on supposedly "existing standards" which don't exist until they get everyone else to follow along with their lemming thought processes...

i say make your games the way you want and beep the console speaker if you want... and those that don't like it can go play another game or at least go somewhere else and blow their own dick in their own way... this ain't a "my tool is bigger or better than your tool" area :)

i hope that makes sense to others and is not too inexcusable to too many's sensitivities...

Reply by email

Henry Vermaak
to waldo kitty
waldo kitty wrote 15 lines
hey man... sometimes we oldtimers gotta eat the shit the these n00bie coders spew out because they simply do not understand where we come from... in many cases, they are jaundiced by their own problems and insecurities and thus they simply rely on supposedly "existing standards" which don't exist until they get everyone else to follow along with their lemming thought processes... i say make your games the way you want and beep the console speaker if you want... and those that don't like it can go play another game or at least go somewhere else and blow their own dick in their own way... this ain't a "my tool is bigger or better than your tool" area :) i hope that makes sense to others and is not too inexcusable to too many's sensitivities...

Please take this inane babbling somewhere else, this is not your nostalgia club.

Henry

Reply by email