Re: [fpc-pascal] fpc-pascal Digest, Vol 163, Issue 11

2018-01-07 Thread Sandro Cumerlato
turning twice very fast? > > /Ingemar > > > Den 2018-01-07 kl. 16:38, skrev Sandro Cumerlato: > >> Awesame work!:-) >> >> areas for improvement: >> >> in santa2 >> - loop Jingle Bells.mp3 for an infinite pleasure;-) >> - play boing.mp3 multip

Re: [fpc-pascal] First pas2js public release

2018-01-07 Thread Sandro Cumerlato
Awesame work! :-) areas for improvement: in santa2 - loop Jingle Bells.mp3 for an infinite pleasure ;-) - play boing.mp3 multiple times in case of multiple keyboard hits. in snake: - avoid this: https://imagebin.ca/v/3nOH4webezqH On 7 January 2018 at 15:03, Ingemar Ragnemalm

Re: [fpc-pascal] C to Pascal conversion - Help request

2017-07-17 Thread Sandro Cumerlato
Thank you Dmitry for your clarification. Best regards. Sandro Cumerlato On 17 July 2017 at 14:26, Dmitry Boyarintsev <skalogryz.li...@gmail.com> wrote: > > > On Mon, Jul 17, 2017 at 7:17 AM, Sandro Cumerlato < > sandro.cumerl...@gmail.com> wrote: > >> Hel

[fpc-pascal] C to Pascal conversion - Help request

2017-07-17 Thread Sandro Cumerlato
Hello, can someone please help me converting the folowing C types to Pascal? SF_CUE_POINT is simple, but I'm not sure how to convert SF_CUES_VAR(count) ad SF_CUES. Thank you in advance! Sandro Cumerlato typedef struct { int32_t indx ; uint32_t position ; int32_t fcc_chunk ; int32_t

Re: [fpc-pascal] Help me find a mp3 -> pcm audio data pascal implementation

2017-05-12 Thread Sandro Cumerlato
Hello Fred, I compiled it a few years ago, but I don't remember which compiler I used, sorry. IAP is demo itself, but I remember that during my testing it was quite unstable. Maybe you can contact the author (C.W. Budde) directly for more info, good luck. Sandro Cumerlato On 12 May 2017

Re: [fpc-pascal] Help me find a mp3 -> pcm audio data pascal implementation

2017-05-10 Thread Sandro Cumerlato
Hello Anthony, IIRC a Pascal mpeg decoder is implemented within IAP: https://github.com/CWBudde/IAP Best regards. Sandro Cumerlato On May 10, 2017 8:21 AM, "Anthony Walter" <sys...@gmail.com> wrote: > Does anyone know if there exists an mp3 to pcm audio data imple

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-23 Thread Sandro Cumerlato
No. The "" is a shell/cmdline convention, and API calls are generally not shell. Thank you Marco for the clarification. Sandro Cumerlato ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailma

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-23 Thread Sandro Cumerlato
e of spaces within paths: CopyFile('"c:\my silly path\autoexec.bat"','"c:\windows\temp\my silly path\autoexec.bat.backup"'); or is the CopyFile function smart enough to include delimiters automatically? Best regards, Sandro Cumerlato __

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-22 Thread Sandro Cumerlato
Try " char instead of ' (char 39). I never use ' under Windows. Best regards Sandro Cumerlato On 22 Mar 2017 23:47, "James Richters" <ja...@productionautomation.net> wrote: > I'm trying to use copyfile and cannot get it to work, anyone have any > ideas? > &

[fpc-pascal] How to remove EXIF data from a JPG file?

2017-01-19 Thread Sandro Cumerlato
Hello, What is the best FPC library able to remove EXIF data from a JPG file? I would prefer to avoid the usage of external tools like ExifTool. Thank you in advance for your suggestions. Sandro Cumerlato ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Sandro Cumerlato
ime. Best regards. Sandro Cumerlato On 11 Oct 2016 10:35, "Ryan Joseph" <r...@thealchemistguild.com> wrote: > > > On Oct 11, 2016, at 2:04 PM, Jonas Maebe <jonas.ma...@elis.ugent.be> > wrote: > > > > FPC is installed by default in c:\fpc, I think. The

Re: [fpc-pascal] Reed-Solomon algorithm

2016-09-15 Thread Sandro Cumerlato
A quick search on Google pointed me to: https://github.com/catid/longhair It is a C library implementing the Reed Solomon algorithm. I think that it's possible to build a dll from sources and create the corresponding fpc binding from the .h include file. Best regards. Sandro Cumerlato On 15

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-23 Thread Sandro Cumerlato
Downloaded, thank you very much for sharing! Sandro Cumerlato On 23 August 2016 at 11:43, Maciej Izak <hnb.c...@gmail.com> wrote: > Hi, > > finally we have simple way to test new syntax to improve FPC quality / $MODE > DELPHI without spending $ on Delphi :) > > Pro

Re: [fpc-pascal] How to send operating system commands (Linux on RPi)?

2016-07-02 Thread Sandro Cumerlato
I find convenient to use TProcess, take a look at the wiki: http://wiki.freepascal.org/Executing_External_Programs#TProcess ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Quick Modern Object Pascal Introduction, for Programmers

2016-06-19 Thread Sandro Cumerlato
Thank you Michalis, I really appreciated your work. Well done! Sandro Cumerlato ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] SDL_Net vs Synapse

2015-01-05 Thread Sandro Cumerlato
Pascal-SDL-2-Headers can be found on GitHub at: https://github.com/ev1313/Pascal-SDL-2-Headers Sandro On 5 January 2015 at 17:03, Daniel Gaspary dgasp...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:23 PM, Brian v...@golden.net wrote: Any opinions/experience pro/con using SDL2 (SDL_Net) vs

Re: [fpc-pascal] Windows type library files

2014-10-03 Thread Sandro Cumerlato
Excellent, but sadly some libraries rely on OleCtrls and StdVCL. On 3 October 2014 16:42, Adriaan van Os f...@microbizz.nl wrote: In case someone is interested, I put the .zip archives below for download at my website http://adriaan.biz/windows-com/pas-from-sdk.zip

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Sandro Cumerlato
Really interesting! Please fix typo: chmod 755 ppcaarm should be chmod 755 ppcarm. I hope to see a GUI Hello World soon. Sandro On 15 Mar 2014 19:47, Paul Breneman paul2...@brenemanlabs.com wrote: http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated!

Re: [fpc-pascal] fp universal library ?

2014-02-12 Thread Sandro Cumerlato
Hello Fred, change these two lines: uos.pas line 1086: RTLeventSetEvent(evPause); uoslib.pas line 41: function uos_loadlib(PortAudioFileName: string; SndFileFileName: string; Mpg123FileName: string; SoundTouchFileName: string) : integer; cdecl; Sandro On 11 February 2014 16:52, Fred van