blob: 826f73e14a5bae2d18772a6e344deb11038b8d8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# This .cfg file is used to generate the JOAL interface.
Include joal-common.cfg
Style InterfaceAndImpl
JavaClass ALExt
ImplPackage jogamp.openal
ImplJavaClass ALExtAbstractImpl
AccessControl ALExtAbstractImpl PUBLIC_ABSTRACT
Extends ALExt ALExtConstants
EmitProcAddressTable true
ProcAddressTableClassName ALExtProcAddressTable
GetProcAddressTableExpr alExtProcAddressTable
ProcAddressNameExpr LP $UPPERCASE({0})
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*
Import jogamp.openal.*
# Factor out the OpenAL constants into their own interface
Ignore ^AL_.+
Ignore ^ALC_.+
IncludeAs CustomJavaCode ALExtAbstractImpl joal-alextabstract-CustomJavaCode.java
# Mappings for data types
Opaque boolean ALCboolean
Opaque boolean ALboolean
# These routines use or return strings
ArgumentIsString alcLoopbackOpenDeviceSOFT 0
# Provide #includes to native code
CustomCCode #include "alext.h"
# Indicate that the direct buffers for ALCcontext, etc. are "opaque",
# i.e., the user shouldn't be poking around in them
ReturnValueCapacity alcLoopbackOpenDeviceSOFT 0
IncludeAs CustomCCode joal-common-CustomCCode.c
|