Class ALC

java.lang.Object
club.doki7.openal.ALC
All Implemented Interfaces:
ALCConstants

public final class ALC extends Object implements ALCConstants
  • Field Details

    • SEGMENT$alcCreateContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCreateContext
    • SEGMENT$alcMakeContextCurrent

      @Nullable public final @Nullable MemorySegment SEGMENT$alcMakeContextCurrent
    • SEGMENT$alcProcessContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcProcessContext
    • SEGMENT$alcSuspendContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcSuspendContext
    • SEGMENT$alcDestroyContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcDestroyContext
    • SEGMENT$alcGetCurrentContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetCurrentContext
    • SEGMENT$alcGetContextsDevice

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetContextsDevice
    • SEGMENT$alcOpenDevice

      @Nullable public final @Nullable MemorySegment SEGMENT$alcOpenDevice
    • SEGMENT$alcCloseDevice

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCloseDevice
    • SEGMENT$alcGetError

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetError
    • SEGMENT$alcIsExtensionPresent

      @Nullable public final @Nullable MemorySegment SEGMENT$alcIsExtensionPresent
    • SEGMENT$alcGetProcAddress

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetProcAddress
    • SEGMENT$alcGetEnumValue

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetEnumValue
    • SEGMENT$alcGetString

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetString
    • SEGMENT$alcGetIntegerv

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetIntegerv
    • SEGMENT$alcCaptureOpenDevice

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCaptureOpenDevice
    • SEGMENT$alcCaptureCloseDevice

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCaptureCloseDevice
    • SEGMENT$alcCaptureStart

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCaptureStart
    • SEGMENT$alcCaptureStop

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCaptureStop
    • SEGMENT$alcCaptureSamples

      @Nullable public final @Nullable MemorySegment SEGMENT$alcCaptureSamples
    • SEGMENT$alcSetThreadContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcSetThreadContext
    • SEGMENT$alcGetThreadContext

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetThreadContext
    • SEGMENT$alcLoopbackOpenDeviceSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcLoopbackOpenDeviceSOFT
    • SEGMENT$alcIsRenderFormatSupportedSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcIsRenderFormatSupportedSOFT
    • SEGMENT$alcRenderSamplesSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcRenderSamplesSOFT
    • SEGMENT$alcDevicePauseSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcDevicePauseSOFT
    • SEGMENT$alcDeviceResumeSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcDeviceResumeSOFT
    • SEGMENT$alcGetStringiSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetStringiSOFT
    • SEGMENT$alcResetDeviceSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcResetDeviceSOFT
    • SEGMENT$alcGetInteger64vSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetInteger64vSOFT
    • SEGMENT$alcReopenDeviceSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcReopenDeviceSOFT
    • SEGMENT$alcEventIsSupportedSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcEventIsSupportedSOFT
    • SEGMENT$alcEventControlSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcEventControlSOFT
    • SEGMENT$alcEventCallbackSOFT

      @Nullable public final @Nullable MemorySegment SEGMENT$alcEventCallbackSOFT
    • SEGMENT$alcGetProcAddress2

      @Nullable public final @Nullable MemorySegment SEGMENT$alcGetProcAddress2
    • HANDLE$alcCreateContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcCreateContext
    • HANDLE$alcMakeContextCurrent

      @Nullable public final @Nullable MethodHandle HANDLE$alcMakeContextCurrent
    • HANDLE$alcProcessContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcProcessContext
    • HANDLE$alcSuspendContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcSuspendContext
    • HANDLE$alcDestroyContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcDestroyContext
    • HANDLE$alcGetCurrentContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetCurrentContext
    • HANDLE$alcGetContextsDevice

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetContextsDevice
    • HANDLE$alcOpenDevice

      @Nullable public final @Nullable MethodHandle HANDLE$alcOpenDevice
    • HANDLE$alcCloseDevice

      @Nullable public final @Nullable MethodHandle HANDLE$alcCloseDevice
    • HANDLE$alcGetError

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetError
    • HANDLE$alcIsExtensionPresent

      @Nullable public final @Nullable MethodHandle HANDLE$alcIsExtensionPresent
    • HANDLE$alcGetProcAddress

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetProcAddress
    • HANDLE$alcGetEnumValue

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetEnumValue
    • HANDLE$alcGetString

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetString
    • HANDLE$alcGetIntegerv

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetIntegerv
    • HANDLE$alcCaptureOpenDevice

      @Nullable public final @Nullable MethodHandle HANDLE$alcCaptureOpenDevice
    • HANDLE$alcCaptureCloseDevice

      @Nullable public final @Nullable MethodHandle HANDLE$alcCaptureCloseDevice
    • HANDLE$alcCaptureStart

      @Nullable public final @Nullable MethodHandle HANDLE$alcCaptureStart
    • HANDLE$alcCaptureStop

      @Nullable public final @Nullable MethodHandle HANDLE$alcCaptureStop
    • HANDLE$alcCaptureSamples

      @Nullable public final @Nullable MethodHandle HANDLE$alcCaptureSamples
    • HANDLE$alcSetThreadContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcSetThreadContext
    • HANDLE$alcGetThreadContext

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetThreadContext
    • HANDLE$alcLoopbackOpenDeviceSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcLoopbackOpenDeviceSOFT
    • HANDLE$alcIsRenderFormatSupportedSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcIsRenderFormatSupportedSOFT
    • HANDLE$alcRenderSamplesSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcRenderSamplesSOFT
    • HANDLE$alcDevicePauseSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcDevicePauseSOFT
    • HANDLE$alcDeviceResumeSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcDeviceResumeSOFT
    • HANDLE$alcGetStringiSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetStringiSOFT
    • HANDLE$alcResetDeviceSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcResetDeviceSOFT
    • HANDLE$alcGetInteger64vSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetInteger64vSOFT
    • HANDLE$alcReopenDeviceSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcReopenDeviceSOFT
    • HANDLE$alcEventIsSupportedSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcEventIsSupportedSOFT
    • HANDLE$alcEventControlSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcEventControlSOFT
    • HANDLE$alcEventCallbackSOFT

      @Nullable public final @Nullable MethodHandle HANDLE$alcEventCallbackSOFT
    • HANDLE$alcGetProcAddress2

      @Nullable public final @Nullable MethodHandle HANDLE$alcGetProcAddress2
  • Constructor Details

  • Method Details

    • createContext

      public ALCcontext createContext(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCint") @Nullable IntPtr attrlist)
      Create and attach a context to the given device.
    • makeContextCurrent

      @NativeType("ALCboolean") public byte makeContextCurrent(@Nullable @Nullable ALCcontext context)
      Makes the given context the active process-wide context. Passing NULL clears the active context.
    • processContext

      public void processContext(@Nullable @Nullable ALCcontext context)
      Resumes processing updates for the given context.
    • suspendContext

      public void suspendContext(@Nullable @Nullable ALCcontext context)
      Suspends updates for the given context.
    • destroyContext

      public void destroyContext(@Nullable @Nullable ALCcontext context)
      Remove a context from its device and destroys it.
    • getCurrentContext

      public ALCcontext getCurrentContext()
      Returns the currently active context.
    • getContextsDevice

      public ALCdevice getContextsDevice(@Nullable @Nullable ALCcontext context)
      Returns the device that a particular context is attached to.
    • openDevice

      public ALCdevice openDevice(@Nullable @Pointer(comment="ALCchar") @Nullable BytePtr devicename)
      Opens the named playback device.
    • closeDevice

      @NativeType("ALCboolean") public byte closeDevice(@Nullable @Nullable ALCdevice device)
      Closes the given playback device.
    • getError

      @NativeType("ALCenum") public int getError(@Nullable @Nullable ALCdevice device)
      Obtain the most recent Device error.
    • isExtensionPresent

      @NativeType("ALCboolean") public byte isExtensionPresent(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCchar") @Nullable BytePtr extname)
      Query for the presence of an extension on the device. Pass a NULL device to query a device-inspecific extension.
    • getProcAddress

      @Pointer(comment="void*") public MemorySegment getProcAddress(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCchar") @Nullable BytePtr funcname)
      Retrieve the address of a function. Given a non-NULL device, the returned function may be device-specific.
    • getEnumValue

      @NativeType("ALCenum") public int getEnumValue(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCchar") @Nullable BytePtr enumname)
      Retrieve the value of an enum. Given a non-NULL device, the returned value may be device-specific.
    • getString

      @Pointer(comment="ALCchar") public BytePtr getString(@Nullable @Nullable ALCdevice device, @NativeType("ALCenum") int param)
      Returns information about the device, and error strings.
    • getIntegerv

      public void getIntegerv(@Nullable @Nullable ALCdevice device, @NativeType("ALCenum") int param, @NativeType("ALCsizei") int size, @Nullable @Pointer(comment="ALCint") @Nullable IntPtr values)
      Returns information about the device and the version of OpenAL.
    • captureOpenDevice

      public ALCdevice captureOpenDevice(@Nullable @Pointer(comment="ALCchar") @Nullable BytePtr devicename, @NativeType("ALCuint") int frequency, @NativeType("ALCenum") int format, @NativeType("ALCsizei") int buffersize)
      Opens the named capture device with the given frequency, format, and buffer size.
    • captureCloseDevice

      @NativeType("ALCboolean") public byte captureCloseDevice(@Nullable @Nullable ALCdevice device)
      Closes the given capture device.
    • captureStart

      public void captureStart(@Nullable @Nullable ALCdevice device)
      Starts capturing samples into the device buffer.
    • captureStop

      public void captureStop(@Nullable @Nullable ALCdevice device)
      Stops capturing samples. Samples in the device buffer remain available.
    • captureSamples

      public void captureSamples(@Nullable @Nullable ALCdevice device, @Pointer(comment="void*") MemorySegment buffer, @NativeType("ALCsizei") int samples)
      Reads samples from the device buffer.
    • setThreadContext

      @NativeType("ALCboolean") public byte setThreadContext(@Nullable @Nullable ALCcontext context)
    • getThreadContext

      public ALCcontext getThreadContext()
    • loopbackOpenDeviceSOFT

      public ALCdevice loopbackOpenDeviceSOFT(@Nullable @Pointer(comment="ALCchar") @Nullable BytePtr deviceName)
    • isRenderFormatSupportedSOFT

      @NativeType("ALCboolean") public byte isRenderFormatSupportedSOFT(@Nullable @Nullable ALCdevice device, @NativeType("ALCsizei") int freq, @NativeType("ALCenum") int channels, @NativeType("ALCenum") int type)
    • renderSamplesSOFT

      public void renderSamplesSOFT(@Nullable @Nullable ALCdevice device, @Pointer(comment="void*") MemorySegment buffer, @NativeType("ALCsizei") int samples)
    • devicePauseSOFT

      public void devicePauseSOFT(@Nullable @Nullable ALCdevice device)
    • deviceResumeSOFT

      public void deviceResumeSOFT(@Nullable @Nullable ALCdevice device)
    • getStringiSOFT

      @Pointer(comment="ALCchar") public BytePtr getStringiSOFT(@Nullable @Nullable ALCdevice device, @NativeType("ALCenum") int paramName, @NativeType("ALCsizei") int index)
    • resetDeviceSOFT

      @NativeType("ALCboolean") public byte resetDeviceSOFT(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCint") @Nullable IntPtr attribs)
    • getInteger64vSOFT

      public void getInteger64vSOFT(@Nullable @Nullable ALCdevice device, @NativeType("ALCenum") int pname, @NativeType("ALsizei") int size, @Nullable @Pointer(comment="ALCint64SOFT") @Nullable LongPtr values)
    • reopenDeviceSOFT

      @NativeType("ALCboolean") public byte reopenDeviceSOFT(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCchar") @Nullable BytePtr deviceName, @Nullable @Pointer(comment="ALCint") @Nullable IntPtr attribs)
    • eventIsSupportedSOFT

      @NativeType("ALCenum") public int eventIsSupportedSOFT(@NativeType("ALCenum") int eventType, @NativeType("ALCenum") int deviceType)
    • eventControlSOFT

      @NativeType("ALCboolean") public byte eventControlSOFT(@NativeType("ALCsizei") int count, @Nullable @Pointer(comment="ALCenum") @Nullable IntPtr events, @NativeType("ALCboolean") byte enable)
    • eventCallbackSOFT

      public void eventCallbackSOFT(@Pointer(comment="ALCEVENTPROCTYPESOFT") MemorySegment callback, @Pointer(comment="void*") MemorySegment userParam)
    • getProcAddress2

      @Pointer(comment="void*") public MemorySegment getProcAddress2(@Nullable @Nullable ALCdevice device, @Nullable @Pointer(comment="ALCchar") @Nullable BytePtr funcName)