[fpc-pascal] Re: Linux sound (especially MIDI) programming: ALSA?

2012-05-07 Thread leledumbo
http://sourceforge.net/projects/fpalsa/ http://sourceforge.net/projects/humus/ -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linux-sound-especially-MIDI-programming-ALSA-tp5688908p5690300.html Sent from the Free Pascal - General mailing list archive at

Re: [fpc-pascal] Linux sound (especially MIDI) programming: ALSA?

2012-05-07 Thread Mark Morgan Lloyd
Wimpie Nortje wrote: On 2012/05/06 05:49 PM, Mark Morgan Lloyd wrote: Wimpie Nortje wrote: I have used ALSA to record sound. It was some time ago, I think on Kubuntu 10.04 or so. I can send you some code I used but I have no idea whether it will work under newer Linux's Thanks, but since

Re: [fpc-pascal] Re: Linux sound (especially MIDI) programming: ALSA?

2012-05-07 Thread Mark Morgan Lloyd
leledumbo wrote: http://sourceforge.net/projects/fpalsa/ http://sourceforge.net/projects/humus/ Thanks for those. Also http://perso.wanadoo.es/plcl/alsapas/alsapas-en.html so as I thought there appears to be (at least) two sets of ALSA bindings: fpalsa and alsapas. Noted HuMuS, but that

Re: [fpc-pascal] ObjectBinaryToText - how to write only selected property?

2012-05-07 Thread Mattias Gaertner
On Sat, 5 May 2012 18:15:51 +0200 Krzysztof dib...@wp.pl wrote: Hi, ObjectBinaryToText method can save object structure to string, but how save only some propertys? ObjectBinaryToText only converts between to formats. It does not save object structures. That is done by TWriter. TWriter

Re: RE : RE : [fpc-pascal] Reversing bit-order of byte

2012-05-07 Thread Koenraad Lelong
On 04-05-12 14:53, Koenraad Lelong wrote: On 04-05-12 14:31, Thomas Schatzl wrote: ... Compared to the other variants (e.g. with the multiplies, except for the table lookup) you already save a lot of cycles - although I guess they would be sufficiently fast anyway, considering the typical

Re: [fpc-pascal] InstantFPC and argv

2012-05-07 Thread Tomas Hajny
On Mon, May 7, 2012 12:21, Mattias Gaertner wrote: On Sat, 5 May 2012 15:04:05 +0200 (CEST) Tomas Hajny xhaj...@hajny.biz wrote: On Sat, May 5, 2012 14:13, Mattias Gaertner wrote: . . ExecuteProcess is only a simple utility function. All posix platforms can start a process with another

[fpc-pascal] Re: Runs correctly when debugging.

2012-05-07 Thread Guillermo Martínez Jiménez
Thanks, Henry, Can you give any more information about how it fails? It's a SIGSEGV. The library is the Allegro library version 5.0.6. The error is inside an internal procedure that uploads a texture to OpenGL context, and it is used by other Allegro functions (i.e. loading pictures from

Re: [fpc-pascal] ObjectBinaryToText - how to write only selected property?

2012-05-07 Thread Graeme Geldenhuys
On 5 May 2012 18:15, Krzysztof dib...@wp.pl wrote: I could use RTTI and TypeInfo, but ObjectBinaryToText can parse property hierarchy (Propery1.Subproperty1.Color etc). Out of interest, I have written an extended RTTI unit which is used in the tiOPF project. All the functions in that unit

Re: [fpc-pascal] InstantFPC and argv

2012-05-07 Thread Mattias Gaertner
On Mon, 7 May 2012 13:34:50 +0200 (CEST) Tomas Hajny xhaj...@hajny.biz wrote: On Mon, May 7, 2012 12:21, Mattias Gaertner wrote: On Sat, 5 May 2012 15:04:05 +0200 (CEST) Tomas Hajny xhaj...@hajny.biz wrote: [...] The implementation for unix is only a few lines. I guess for winxx and os/2

Re: [fpc-pascal] InstantFPC and argv

2012-05-07 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: It's not big. The RTL lacks little functions for scripts. For example download an URL, get a list of files in a directory, load a xml file, test a RE. Running pascal programs as scripts is only the first step. The next step is to provide a

Re: [fpc-pascal] InstantFPC and argv

2012-05-07 Thread Tomas Hajny
On Mon, May 7, 2012 14:26, Mattias Gaertner wrote: On Mon, 7 May 2012 13:34:50 +0200 (CEST) Tomas Hajny xhaj...@hajny.biz wrote: 54 lines for WinXX, 144 for OS/2 and 278 for GO32v2 (all without the additional platform specific implementation for changing the passed environment). Where do got

Re: RE : RE : [fpc-pascal] Reversing bit-order of byte

2012-05-07 Thread Geoffrey Barton
On 7 May 2012, at 13:26, fpc-pascal-requ...@lists.freepascal.org wrote: Message: 4 Date: Mon, 07 May 2012 12:59:58 +0200 From: Koenraad Lelong ko...@de-brouwerij.be Subject: Re: RE : RE : [fpc-pascal] Reversing bit-order of byte To: fpc-pascal@lists.freepascal.org Message-ID:

[fpc-pascal] cross compiler linker issue win32 to Linux

2012-05-07 Thread Tony Caduto
Hi, I have the cross compiler setup(win32 to linux) and I can compile most of my apps just fine except for one that is a daemon and uses cthreads and cmem in the uses. It does not give any errors except for linker error and if I change the verbosity to show all it still does not show anything