com.jogamp.openal.ALCdevice 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/JavaEmitter.java on Mon Sep 08 06:17:02 CEST 2014 ----! */
package com.jogamp.openal;
import java.nio.*;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import jogamp.common.os.MachineDescriptionRuntime;
public class ALCdevice {
StructAccessor accessor;
private static final int mdIdx = MachineDescriptionRuntime.getStatic().ordinal();
private static final int[] ALCdevice_size = new int[] { 0 /* ARMle_EABI */, 0 /* X86_32_UNIX */, 0 /* X86_64_UNIX */, 0 /* X86_32_MACOS */, 0 /* X86_32_WINDOWS */, 0 /* X86_64_WINDOWS */, 0 /* SPARC_32_SUNOS */ };
public static int size() {
return ALCdevice_size[mdIdx];
}
public static ALCdevice create() {
return create(Buffers.newDirectByteBuffer(size()));
}
public static ALCdevice create(java.nio.ByteBuffer buf) {
return new ALCdevice(buf);
}
ALCdevice(java.nio.ByteBuffer buf) {
accessor = new StructAccessor(buf);
}
public java.nio.ByteBuffer getBuffer() {
return accessor.getBuffer();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy