Re: [Lazarus] How to play audio from memory.

2016-05-16 Thread Donald Ziesig

On 05/11/2016 05:26 PM, Graeme Geldenhuys wrote:

On 2016-05-11 21:53, Donald Ziesig wrote:

Currently I am able to do this by calling omxplayer with a file name and
volume information.  Unfortunately, the latency between starting
omxplayer and the beginning of the audio output is several seconds

Yes, it’s possible with the United OpenLib of Sound (UOS). Fred has
created an excellent library and it works very well. I’ve personally
tested it on multiple platforms, and so too have others. The latency is
very low when used with LCL, and even lower when used with fpGUI.

You can find the code here:
https://github.com/fredvs/uos/

It includes a couple of example applications too.

There has been quite a few discussions of UOS with Fred in the Lazarus
Forums too.

Regards,
   Graeme

Thanks Graeme!  It works great on my laptop.  Now I need to port it to 
the Raspberry Pi.


Unfortunately, the version I have on the Pi doesn't have the units for 
openssl and fpopenssl.


Since I will not need the ssl functionality, I am trying to track down 
the code tree that references those units.  Do you know if Lazarus has a 
way to show the units used when a compilation fails?


Thanks again.

Don Ziesig


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] components\aggpas\gpc - non-commercial use only

2016-05-16 Thread Denis Kozlov
Hi,

Licensing terms of "components\aggpas\gpc" state that it is free for
non-commercial use only. Should it even be allowed to be part of Lazarus
components?

For this reason it was excluded from Debian packaged Lazarus, as discussed
here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708695

We could try getting an exception for Lazarus from the author:
http://www.cs.man.ac.uk/~toby/alan/software/#Licensing

In the meantime, aggpas could be moved to CCR, to keep Lazarus clean and
free.

Regards,
Denis
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus