Delete OpenAL stub_includes/openal headers.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Import OpenAL-soft openal-soft/include/AL/ headers to stub_includes/openal.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Bug 567 (part 1): add support for openal extensions

Imported JOAL specific parts from the patch made by Michael Zucchi.

Author: Michael Zucchi <notzed@gmail.com>
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
build.xml al.c -> al.h after switch to OpenAl-soft headers.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Bug 567 (part 2): add support for openal extensions
Alter the OpenAL-soft headers to please the gluegen parser.
al-types.h and alc-types.h imported from the patch made by Michael Zucchi.

Author: Michael Zucchi <notzed@gmail.com>
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Remove obstolete bundled OpenAL and OpenAL-soft binarys.
Prefer system installed libraries or
OpenAL-soft built from source.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Re-import OpenAL stub_includes/openal/eax.h required for EAX.
It is still questionable if we want to support EAX
drivers for EAX only exist before Windows Vista.
Many JOAL applications expect the EAX detection code to exist.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Remove system dependency of intptr_t and uint64_t.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
build.xml: set failonerror="false" for artifact.properties copy

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Bug 567 (part 3): add support for openal extensions

Imported the ALExtLoopbackDeviceSOFTTest junit test.

Author: Michael Zucchi <notzed@gmail.com>
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Improve ALExtLoopbackDeviceSOFTTest to list all available OpenAL extensions.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Bug 662: Add a flag to favour OpenALSoft

If the property jnlp.joal.SystemOpenAL or -Djoal.SystemOpenAL
is defined then include the system OpenAL libnames.
This will favour use of the bundled OpenALSoft by default.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Fix Bug 662: Add a flag to favour OpenALSoft

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Improve logic of Bug 662: Add a flag to favour OpenALSoft

Default: prefer OpenAL-soft fallback to OpenAL System
If property joal.SystemOpenAL is defined:
then prefer OpenAL System fallback to OpenAL-soft

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
Fix exception logic and dest buffer in ALExtLoopbackDeviceSOFTTest

Do not expect exceptions to happen under normal execution and
fill the destination buffer instead of the source buffer.

Signed-off-by Xerxes Rånby <xerxes@zafena.se>
Fix missing Opaque boolean ALboolean in make/joal-alext.cfg

ALboolean gor mapped to a byte now fixed to return a boolean.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>