JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java™ (public API).
ALC.java
Go to the documentation of this file.
1/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/procaddress/ProcAddressEmitter.java on Sat Jul 12 19:11:38 CEST 2025 ----! */
2/* !---- Java-Unit: [pkg com.jogamp.openal, cls ALC], ../build/gensrc/classes/com/jogamp/openal/ALC.java ----! */
3
4package com.jogamp.openal;
5
6import java.io.UnsupportedEncodingException;
7import java.util.*;
8import com.jogamp.openal.*;
9import jogamp.openal.*;
10import java.security.PrivilegedAction;
11import com.jogamp.gluegen.runtime.*;
12import com.jogamp.common.os.*;
13import com.jogamp.common.nio.*;
14import java.nio.*;
15import com.jogamp.common.util.*;
16import java.util.Set;
17import java.util.Map;
18import java.util.HashMap;
19import java.nio.charset.Charset;
20import java.nio.charset.StandardCharsets;
21
22public interface ALC extends ALCConstants{
23
24
25 /** Entry point (through function pointer) to C language function: <br> <code>ALCcontext * alcCreateContext(ALCdevice * device, const ALCint * attrlist)</code><br>
26 @param attrlist a direct or array-backed {@link java.nio.IntBuffer} */
27 public ALCcontext alcCreateContext(ALCdevice device, IntBuffer attrlist);
28
29 /** Entry point (through function pointer) to C language function: <br> <code>ALCcontext * alcCreateContext(ALCdevice * device, const ALCint * attrlist)</code><br> */
30 public ALCcontext alcCreateContext(ALCdevice device, int[] attrlist, int attrlist_offset);
31
32 /** Entry point (through function pointer) to C language function: <br> <code>ALCboolean alcMakeContextCurrent(ALCcontext * context)</code><br> */
33 public boolean alcMakeContextCurrent(ALCcontext context);
34
35 /** Entry point (through function pointer) to C language function: <br> <code>void alcProcessContext(ALCcontext * context)</code><br> */
36 public void alcProcessContext(ALCcontext context);
37
38 /** Entry point (through function pointer) to C language function: <br> <code>void alcSuspendContext(ALCcontext * context)</code><br> */
39 public void alcSuspendContext(ALCcontext context);
40
41 /** Entry point (through function pointer) to C language function: <br> <code>void alcDestroyContext(ALCcontext * context)</code><br> */
42 public void alcDestroyContext(ALCcontext context);
43
44 /** Entry point (through function pointer) to C language function: <br> <code>ALCcontext * alcGetCurrentContext()</code><br> */
46
47 /** Entry point (through function pointer) to C language function: <br> <code>ALCdevice * alcGetContextsDevice(ALCcontext * context)</code><br> */
49
50 /** Entry point (through function pointer) to C language function: <br> <code>ALCdevice * alcOpenDevice(const ALCchar * devicename)</code><br> */
51 public ALCdevice alcOpenDevice(String devicename);
52
53 /** Entry point (through function pointer) to C language function: <br> <code>ALCboolean alcCloseDevice(ALCdevice * device)</code><br> */
54 public boolean alcCloseDevice(ALCdevice device);
55
56 /** Entry point (through function pointer) to C language function: <br> <code>ALCenum alcGetError(ALCdevice * device)</code><br> */
57 public int alcGetError(ALCdevice device);
58
59 /** Entry point (through function pointer) to C language function: <br> <code>ALCboolean alcIsExtensionPresent(ALCdevice * device, const ALCchar * extname)</code><br> */
60 public boolean alcIsExtensionPresent(ALCdevice device, String extname);
61
62 /** Entry point (through function pointer) to C language function: <br> <code>ALCenum alcGetEnumValue(ALCdevice * device, const ALCchar * enumname)</code><br> */
63 public int alcGetEnumValue(ALCdevice device, String enumname);
64
65 /** Entry point (through function pointer) to C language function: <br> <code>const ALCchar * alcGetString(ALCdevice * device, ALCenum param)</code><br> */
66 public String alcGetString(ALCdevice device, int param);
67
68 /** Entry point (through function pointer) to C language function: <br> <code>void alcGetIntegerv(ALCdevice * device, ALCenum param, ALCsizei size, ALCint * values)</code><br>
69 @param values a direct or array-backed {@link java.nio.IntBuffer} */
70 public void alcGetIntegerv(ALCdevice device, int param, int size, IntBuffer values);
71
72 /** Entry point (through function pointer) to C language function: <br> <code>void alcGetIntegerv(ALCdevice * device, ALCenum param, ALCsizei size, ALCint * values)</code><br> */
73 public void alcGetIntegerv(ALCdevice device, int param, int size, int[] values, int values_offset);
74
75 /** Entry point (through function pointer) to C language function: <br> <code>ALCdevice * alcCaptureOpenDevice(const ALCchar * devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize)</code><br> */
76 public ALCdevice alcCaptureOpenDevice(String devicename, int frequency, int format, int buffersize);
77
78 /** Entry point (through function pointer) to C language function: <br> <code>ALCboolean alcCaptureCloseDevice(ALCdevice * device)</code><br> */
79 public boolean alcCaptureCloseDevice(ALCdevice device);
80
81 /** Entry point (through function pointer) to C language function: <br> <code>void alcCaptureStart(ALCdevice * device)</code><br> */
82 public void alcCaptureStart(ALCdevice device);
83
84 /** Entry point (through function pointer) to C language function: <br> <code>void alcCaptureStop(ALCdevice * device)</code><br> */
85 public void alcCaptureStop(ALCdevice device);
86
87 /** Entry point (through function pointer) to C language function: <br> <code>void alcCaptureSamples(ALCdevice * device, ALCvoid * buffer, ALCsizei samples)</code><br>
88 @param buffer a direct or array-backed {@link java.nio.Buffer} */
89 public void alcCaptureSamples(ALCdevice device, Buffer buffer, int samples);
90
91
92 // --- Begin CustomJavaCode .cfg declarations
93 /** Specify if ALC_ENUMERATION_EXT is present */
95
96 /** Specify if ALC_ENUMERATE_ALL_EXT is present */
98
99 /** Specify if ALC_SOFT_system_events is present */
101
102 /** Specify if call of alGetString(device, param) must
103 must retrun a double null terminted string */
104 public boolean alcIsDoubleNullTerminatedString(final com.jogamp.openal.ALCdevice device, final int param);
105
106 /** Fetches all values of device and param supplied from result of call to alcGetString
107 Each value is extracted from string because is a string double null terminated
108 Equivalent to the C call alcGetString(device, param). */
109 public java.lang.String[] alcGetStringAsDoubleNullTerminatedString(final com.jogamp.openal.ALCdevice device, final int param);
110
111 /** Fetches the names of the available ALC device specifiers.
112 Equivalent to the C call alcGetString(NULL, ALC_DEVICE_SPECIFIER). */
113 public java.lang.String[] alcGetDeviceSpecifiers();
114
115 /** Fetches the names of the available ALC capture device specifiers.
116 Equivalent to the C call alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER). */
117 public java.lang.String[] alcGetCaptureDeviceSpecifiers();
118
119 /** Fetches the names of the available ALC all capture device specifiers.
120 Equivalent to the C call alcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER). */
121 public java.lang.String[] alcGetAllDeviceSpecifiers();
122 // ---- End CustomJavaCode .cfg declarations
123} // end of class ALC
boolean alcEnumerationExtIsPresent()
Specify if ALC_ENUMERATION_EXT is present.
void alcDestroyContext(ALCcontext context)
Entry point (through function pointer) to C language function: void alcDestroyContext(ALCcontext * ...
boolean alcMakeContextCurrent(ALCcontext context)
Entry point (through function pointer) to C language function: ALCboolean alcMakeContextCurrent(ALC...
boolean alcSoftSystemEventsIsPresent()
Specify if ALC_SOFT_system_events is present.
ALCcontext alcGetCurrentContext()
Entry point (through function pointer) to C language function: ALCcontext * alcGetCurrentContext()
boolean alcEnumerateAllExtIsPresent()
Specify if ALC_ENUMERATE_ALL_EXT is present.
void alcProcessContext(ALCcontext context)
Entry point (through function pointer) to C language function: void alcProcessContext(ALCcontext * ...
java.lang.String[] alcGetAllDeviceSpecifiers()
Fetches the names of the available ALC all capture device specifiers.
int alcGetError(ALCdevice device)
Entry point (through function pointer) to C language function: ALCenum alcGetError(ALCdevice * dev...
String alcGetString(ALCdevice device, int param)
Entry point (through function pointer) to C language function: const ALCchar * alcGetString(ALCdevi...
void alcGetIntegerv(ALCdevice device, int param, int size, IntBuffer values)
Entry point (through function pointer) to C language function: void alcGetIntegerv(ALCdevice * dev...
void alcCaptureSamples(ALCdevice device, Buffer buffer, int samples)
Entry point (through function pointer) to C language function: void alcCaptureSamples(ALCdevice * ...
void alcCaptureStop(ALCdevice device)
Entry point (through function pointer) to C language function: void alcCaptureStop(ALCdevice * dev...
java.lang.String[] alcGetStringAsDoubleNullTerminatedString(final com.jogamp.openal.ALCdevice device, final int param)
Fetches all values of device and param supplied from result of call to alcGetString Each value is ext...
java.lang.String[] alcGetDeviceSpecifiers()
Fetches the names of the available ALC device specifiers.
void alcCaptureStart(ALCdevice device)
Entry point (through function pointer) to C language function: void alcCaptureStart(ALCdevice * de...
void alcSuspendContext(ALCcontext context)
Entry point (through function pointer) to C language function: void alcSuspendContext(ALCcontext * ...
boolean alcCloseDevice(ALCdevice device)
Entry point (through function pointer) to C language function: ALCboolean alcCloseDevice(ALCdevice ...
ALCdevice alcGetContextsDevice(ALCcontext context)
Entry point (through function pointer) to C language function: ALCdevice * alcGetContextsDevice(ALC...
int alcGetEnumValue(ALCdevice device, String enumname)
Entry point (through function pointer) to C language function: ALCenum alcGetEnumValue(ALCdevice * ...
void alcGetIntegerv(ALCdevice device, int param, int size, int[] values, int values_offset)
Entry point (through function pointer) to C language function: void alcGetIntegerv(ALCdevice * dev...
boolean alcIsDoubleNullTerminatedString(final com.jogamp.openal.ALCdevice device, final int param)
Specify if call of alGetString(device, param) must must retrun a double null terminted string.
ALCdevice alcCaptureOpenDevice(String devicename, int frequency, int format, int buffersize)
Entry point (through function pointer) to C language function: ALCdevice * alcCaptureOpenDevice(con...
java.lang.String[] alcGetCaptureDeviceSpecifiers()
Fetches the names of the available ALC capture device specifiers.
boolean alcIsExtensionPresent(ALCdevice device, String extname)
Entry point (through function pointer) to C language function: ALCboolean alcIsExtensionPresent(ALC...
ALCcontext alcCreateContext(ALCdevice device, int[] attrlist, int attrlist_offset)
Entry point (through function pointer) to C language function: ALCcontext * alcCreateContext(ALCdev...
ALCdevice alcOpenDevice(String devicename)
Entry point (through function pointer) to C language function: ALCdevice * alcOpenDevice(const ALCc...
boolean alcCaptureCloseDevice(ALCdevice device)
Entry point (through function pointer) to C language function: ALCboolean alcCaptureCloseDevice(ALC...
ALCcontext alcCreateContext(ALCdevice device, IntBuffer attrlist)
Entry point (through function pointer) to C language function: ALCcontext * alcCreateContext(ALCdev...