[fpc-pascal] Is TEventobject obsolete?

2012-06-11 Thread Victor Campillo
Hi all, I have a doubt about Basicevent and RTLevent, according to the documentation Basicevent is obsolete and I should use RTLevent instead. I use most of the time Rtlevent but now I need to know the result of WaitFor (signaled, timeout, ect). Rtlevent don't provide this, instead

Re: [fpc-pascal] buffered filestream

2012-06-11 Thread Mattias Gaertner
On Sun, 10 Jun 2012 19:02:52 +0200 Martin Schreiber mse00...@gmail.com wrote: On Sunday 10 June 2012 15:00:20 Mattias Gaertner wrote: Hi, Is there already a buffered file stream in the fpc sources? Or maybe a generic buffered input stream that can be used with TFileStream? MSEgui

[fpc-pascal] fpimage reader for jpeg2000

2012-06-11 Thread Mattias Gaertner
Hi, Has someone already implemented a fpimage reader for jpeg2000? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpimage reader for jpeg2000

2012-06-11 Thread Marco van de Voort
In our previous episode, Mattias Gaertner said: Has someone already implemented a fpimage reader for jpeg2000? Not that I know. I once looked into it, but it seemed a rather big chunk. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Unit initialization in dll initialization for arm/WinCE

2012-06-11 Thread kyan
Hello all, Does unit initialization in libraries (.dll files) work in arm/WinCE? Somehow it seems that even code placed in the library initialization begin end block isn't executed either. I found some bug reports (e.g. 0019404) suggesting that this didn't work for arm/Linux but it has been added

Re: [fpc-pascal] Unit initialization in dll initialization for arm/WinCE

2012-06-11 Thread Sven Barth
Am 11.06.2012 12:25, schrieb kyan: Does unit initialization in libraries (.dll files) work in arm/WinCE? From the startup code of arm-wince I don't see why it should not work... Somehow it seems that even code placed in the library initialization begin end block isn't executed either. How

[fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread luciano de souza
I took a look in Openal examples. I need to confess that I expected something easier. Perhaps, something like: PlaySound('file.wav', 0) In MMSystem, we have something like that, but it's not cross platform. The examples present hundreds of lines. It's something frightful! Regarding the

RE : [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread Ludo Brands
I took a look in Openal examples. I need to confess that I expected something easier. Perhaps, something like: PlaySound('file.wav', 0) In MMSystem, we have something like that, but it's not cross platform. The examples present hundreds of lines. It's something frightful! Regarding

RE : RE : [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread Ludo Brands
On the lazarus forum, kpjcomp made a wrapper for Openal. Forgot the link: http://www.lazarus.freepascal.org/index.php/topic,17164.msg94588.html#msg945 88 Ludo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread Michalis Kamburelis
luciano de souza wrote: I took a look in Openal examples. I need to confess that I expected something easier. Perhaps, something like: PlaySound('file.wav', 0) You need to wrap OpenAL a little to get something so simple. In my Castle Game Engine (http://castle-engine.sourceforge.net/), I

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread silvioprog
Hello, Please see this demo too: https://github.com/silvioprog/lazsolutions/tree/master/Demos/LSPlayWAV It is a cross function to play wav files. -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillist -

Re: RE : [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread silvioprog
2012/6/11 Ludo Brands ludo.bra...@free.fr: [...] On the lazarus forum, kpjcomp made a wrapper for Openal. Haven't tested it but his example code is as simple as:  openAl := TLazOpenAL.Create;  wav1 := TLazOpenALWavFileSource.Create('drumloop.wav');  wav1.looping := true;  

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread silvioprog
2012/6/11 Michalis Kamburelis michalis.ka...@gmail.com: luciano de souza wrote: I took a look in Openal examples. I need to confess that I expected something easier. Perhaps, something like: PlaySound('file.wav', 0) You need to wrap OpenAL a little to get something so simple. In my

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread Michalis Kamburelis
silvioprog wrote: Nice project. :) castle_game_engine-3.0.0-src.zip = +-70MB. Most of the size comes from the examples, they contain also example 3D data files (models, animations etc.). I prefer to give people full package :) For those who want to get parts, they can always check out

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-11 Thread silvioprog
2012/6/11 Michalis Kamburelis michalis.ka...@gmail.com: silvioprog wrote: Nice project. :) castle_game_engine-3.0.0-src.zip = +-70MB. Most of the size comes from the examples, they contain also example 3D data files (models, animations etc.). I prefer to give people full package :) For