Class OALFilter

java.lang.Object
com.blackrook.gloop.openal.OALObject
com.blackrook.gloop.openal.OALFilter
Direct Known Subclasses:
BandPassFilter, HighPassFilter, LowPassFilter

public abstract class OALFilter extends OALObject
Filter object for OpenAL sources.
Author:
Matthew Tropiano
  • Constructor Details

    • OALFilter

      protected OALFilter(OALContext context, int alFilterType)
  • Method Details

    • allocate

      protected int allocate()
      Description copied from class: OALObject
      Allocates a new type of this object in OpenAL. Called by OALObject constructor.
      Specified by:
      allocate in class OALObject
      Returns:
      the ALId of this new object.
    • free

      protected void free()
      Description copied from class: OALObject
      Destroys this object (deallocates it on OpenAL). This is called by destroy().
      Specified by:
      free in class OALObject