
Example using the AdaOpenAL package
from a Cpp main.
================================================

Here the main is:  two.cpp;

So, assuming GNAT (GNU Ada) is installed...
Build instructions...script sequences:

linux two_gnu:
	lcmp0.sh
	lcmp.sh two

--------------------------------------------------

64-bit windows two.exe:
	setpath64.bat
	wcmp0.bat
	wcmp.bat two

--------------------------------------------------

Mac/OSX two_osx:
	ocmp0.sh
	ocmp1.sh two
	ocmp2.sh two

==================================================
Notice that there is a small amount of extra
coding required in any Cpp main program:

1) declaring a namespace that summarizes the Cpp
	interface visible from snd4ada.ads;

2) enclosing the Cpp code between calls to
	1) adainit();
	2) adafinal();

(See two.cpp)

and that is pretty much all there is to it. The
confusing part is setting up the build-script
sequence.
=================================================

Final note...see the following links:

https://github.com/fastrgv/Portable-Cpp-Sound-OpenAL

or

https://sourceforge.net/projects/portable-cpp-sound-openal/

for a C++ version of this same sound package.
which greatly simplifies the usage process 
when programming in C++.


