Re: [Oorexx-devel] "libao: a cross platform audio library", how about creating an external Rexx function library ?

2019-02-17 Thread Rony G. Flatscher
On 17.02.2019 14:03, Rick McGuire wrote:
>
> On Sun, Feb 17, 2019 at 8:00 AM Enrico Sorichetti via Oorexx-devel
>  > wrote:
>
> Already working on a simple external function skeleton,
>
> Which does nothing but … Print the arguments passed
>
> Will not take long to polish it and post it somewhere
>
> Does not use the native approach ,
>
> I was not able to find into the docs how to determine the number of 
> arguments passed
>
> From the samples looks like that the native mode functions only support a 
> fixed number of
> arguments
>
> But I would like if somebody pointed me on hoe to do it the native day
>
>
> You can also ask for all of the arguments to be passed to you in an array. 
> When used that way, no
> maximum is enforced. See the current unix rexxutil functions SysGetMessage 
> and SysGetMessageX to
> see how this works.

Maybe also interesting: , which 
is meant at allowing
C++ programmers to jump start creating external function libraries, which 
implement routines or
methods in native code.

---

It is a talk (the pdf-file) at an International Rexx Symposium (cf.
) where I tried to give a 
conceptual overview how
to create external Rexx function routines and external Rexx method routines. 
The zip archive
contains the files (sources, binaries in 32- and 64-bit) and Makefiles for 
Windows, Apple, Linux. As
you can see by looking at the Makefiles that a CMake solution (from someone in 
the know) would have
been even better for the project.

The native C++ API is documented in chapter 8 in "rexxpg.pdf" ("ooRexx 
Programming Guide").

---rony


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] "libao: a cross platform audio library", how about creating an external Rexx function library ?

2019-02-17 Thread Enrico Sorichetti via Oorexx-devel
Already working on a simple external function skeleton,

Which does nothing but … Print the arguments passed

Will not take long to polish it and post it somewhere

Does not use the native approach ,

I was not able to find into the docs how to determine the number of arguments 
passed

From the samples looks like that the native mode functions only support a fixed 
number of arguments

But I would like if somebody pointed me on hoe to do it the native day


E


> On 17 Feb 2019, at 13:53, Rony G. Flatscher  wrote:
> 
> If possible with a CMakeLists.txt, such that such a library also can serve as 
> a role model for a) how to create external function library and b) how to use 
> CMake to make it simple to compile, link and create installers for the 
> different platforms?
> 
> 

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] "libao: a cross platform audio library", how about creating an external Rexx function library ?

2019-02-17 Thread Rick McGuire
It would have to be done as a separate project and not distributed with
ooRexx because of the GNU license.

Rick

On Sun, Feb 17, 2019 at 7:55 AM Rony G. Flatscher 
wrote:

> While researching a little bit about audio on Linux (after reading about
> the "portable beep problem") et.al. I stumbled over an interesting
> cross-platform library named "libao" which seems to have arrived a stable
> state.
>
> Here various links for gaining a quick overview:
>
>- Homepage & overview: 
>
>- Documentation:  
>- API overview: 
>
>
>- Linux-from-scratch (how to install):
>
>
>- Infos about Ubuntu: 
>
>
> At first sight it seems that the API is small and straight-forward.
>
> So the idea: how about creating an external Rexx function library for
> libao and compile it for the major operating system platforms Windows,
> MacOS and Linux? If possible with a CMakeLists.txt, such that such a
> library also can serve as a role model for a) how to create external
> function library and b) how to use CMake to make it simple to compile, link
> and create installers for the different platforms?
>
> Anyone who would find such an external Rexx function library
> useful/interesting and would try to create it?
>
> ---rony
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] "libao: a cross platform audio library", how about creating an external Rexx function library ?

2019-02-17 Thread Rony G. Flatscher
While researching a little bit about audio on Linux (after reading about the 
"portable beep
problem") et.al. I stumbled over an interesting cross-platform library named 
"libao" which seems to
have arrived a stable state.

Here various links for gaining a quick overview:

  * Homepage & overview: 
  * Documentation: 
  * API overview: 

  * Linux-from-scratch (how to install):

  * Infos about Ubuntu: 

At first sight it seems that the API is small and straight-forward.

So the idea: how about creating an external Rexx function library for libao and 
compile it for the
major operating system platforms Windows, MacOS and Linux? If possible with a 
CMakeLists.txt, such
that such a library also can serve as a role model for a) how to create 
external function library
and b) how to use CMake to make it simple to compile, link and create 
installers for the different
platforms?

Anyone who would find such an external Rexx function library useful/interesting 
and would try to
create it?

---rony


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel