com.jogamp.openal.ALC Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joal Show documentation
Show all versions of joal Show documentation
Java™ Binding for the OpenAL® API
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/procaddress/ProcAddressEmitter.java on Thu Jan 30 12:09:34 CET 2014 ----! */
package com.jogamp.openal;
import java.io.UnsupportedEncodingException;
import java.util.*;
import com.jogamp.openal.*;
import jogamp.openal.*;
import java.security.AccessController;
import java.security.PrivilegedAction;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import java.nio.*;
public interface ALC extends ALCConstants{
public static final int HAS_STDDEF = 1;
/** Entry point (through function pointer) to C language function:
ALCboolean alcCaptureCloseDevice(ALCdevice * device);
*/
public boolean alcCaptureCloseDevice(ALCdevice device);
/** Entry point (through function pointer) to C language function:
ALCdevice * alcCaptureOpenDevice(const ALCchar * devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize);
*/
public ALCdevice alcCaptureOpenDevice(String devicename, int frequency, int format, int buffersize);
/** Entry point (through function pointer) to C language function:
void alcCaptureSamples(ALCdevice * device, ALCvoid * buffer, ALCsizei samples);
@param buffer a direct or array-backed {@link java.nio.Buffer} */
public void alcCaptureSamples(ALCdevice device, Buffer buffer, int samples);
/** Entry point (through function pointer) to C language function:
void alcCaptureStart(ALCdevice * device);
*/
public void alcCaptureStart(ALCdevice device);
/** Entry point (through function pointer) to C language function:
void alcCaptureStop(ALCdevice * device);
*/
public void alcCaptureStop(ALCdevice device);
/** Entry point (through function pointer) to C language function:
ALCboolean alcCloseDevice(ALCdevice * device);
*/
public boolean alcCloseDevice(ALCdevice device);
/** Entry point (through function pointer) to C language function:
ALCcontext * alcCreateContext(ALCdevice * device, const ALCint * attrlist);
@param attrlist a direct or array-backed {@link java.nio.IntBuffer} */
public ALCcontext alcCreateContext(ALCdevice device, IntBuffer attrlist);
/** Entry point (through function pointer) to C language function:
ALCcontext * alcCreateContext(ALCdevice * device, const ALCint * attrlist);
*/
public ALCcontext alcCreateContext(ALCdevice device, int[] attrlist, int attrlist_offset);
/** Entry point (through function pointer) to C language function:
void alcDestroyContext(ALCcontext * context);
*/
public void alcDestroyContext(ALCcontext context);
/** Entry point (through function pointer) to C language function:
ALCdevice * alcGetContextsDevice(ALCcontext * context);
*/
public ALCdevice alcGetContextsDevice(ALCcontext context);
/** Entry point (through function pointer) to C language function:
ALCcontext * alcGetCurrentContext(void);
*/
public ALCcontext alcGetCurrentContext();
/** Entry point (through function pointer) to C language function:
ALCenum alcGetEnumValue(ALCdevice * device, const ALCchar * enumname);
*/
public int alcGetEnumValue(ALCdevice device, String enumname);
/** Entry point (through function pointer) to C language function:
ALCenum alcGetError(ALCdevice * device);
*/
public int alcGetError(ALCdevice device);
/** Entry point (through function pointer) to C language function:
void alcGetIntegerv(ALCdevice * device, ALCenum param, ALCsizei size, ALCint * values);
@param values a direct or array-backed {@link java.nio.IntBuffer} */
public void alcGetIntegerv(ALCdevice device, int param, int size, IntBuffer values);
/** Entry point (through function pointer) to C language function:
void alcGetIntegerv(ALCdevice * device, ALCenum param, ALCsizei size, ALCint * values);
*/
public void alcGetIntegerv(ALCdevice device, int param, int size, int[] values, int values_offset);
/** Entry point (through function pointer) to C language function:
const ALCchar * alcGetString(ALCdevice * device, ALCenum param);
*/
public String alcGetString(ALCdevice device, int param);
/** Entry point (through function pointer) to C language function:
ALCboolean alcIsExtensionPresent(ALCdevice * device, const ALCchar * extname);
*/
public boolean alcIsExtensionPresent(ALCdevice device, String extname);
/** Entry point (through function pointer) to C language function:
ALCboolean alcMakeContextCurrent(ALCcontext * context);
*/
public boolean alcMakeContextCurrent(ALCcontext context);
/** Entry point (through function pointer) to C language function:
ALCdevice * alcOpenDevice(const ALCchar * devicename);
*/
public ALCdevice alcOpenDevice(String devicename);
/** Entry point (through function pointer) to C language function:
void alcProcessContext(ALCcontext * context);
*/
public void alcProcessContext(ALCcontext context);
/** Entry point (through function pointer) to C language function:
void alcSuspendContext(ALCcontext * context);
*/
public void alcSuspendContext(ALCcontext context);
// --- Begin CustomJavaCode .cfg declarations
/** Fetches the names of the available ALC device specifiers.
Equivalent to the C call alcGetString(NULL, ALC_DEVICE_SPECIFIER). */
public java.lang.String[] alcGetDeviceSpecifiers();
/** Fetches the names of the available ALC capture device specifiers.
Equivalent to the C call alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER). */
public java.lang.String[] alcGetCaptureDeviceSpecifiers();
// ---- End CustomJavaCode .cfg declarations
} // end of class ALC
© 2015 - 2025 Weber Informatics LLC | Privacy Policy