Class AndroidAL

  • All Implemented Interfaces:
    com.jme3.audio.openal.AL

    public final class AndroidAL
    extends java.lang.Object
    implements com.jme3.audio.openal.AL
    • Field Summary

      • Fields inherited from interface com.jme3.audio.openal.AL

        AL_BITS, AL_BUFFER, AL_BUFFERS_PROCESSED, AL_BUFFERS_QUEUED, AL_BYTE_OFFSET, AL_CHANNELS, AL_CONE_INNER_ANGLE, AL_CONE_OUTER_ANGLE, AL_CONE_OUTER_GAIN, AL_DIRECTION, AL_DISTANCE_MODEL, AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY, AL_EXPONENT_DISTANCE, AL_EXPONENT_DISTANCE_CLAMPED, AL_EXTENSIONS, AL_FALSE, AL_FORMAT_MONO16, AL_FORMAT_MONO8, AL_FORMAT_STEREO16, AL_FORMAT_STEREO8, AL_FREQUENCY, AL_GAIN, AL_INITIAL, AL_INVALID_ENUM, AL_INVALID_NAME, AL_INVALID_OPERATION, AL_INVALID_VALUE, AL_INVERSE_DISTANCE, AL_INVERSE_DISTANCE_CLAMPED, AL_LINEAR_DISTANCE, AL_LINEAR_DISTANCE_CLAMPED, AL_LOOPING, AL_MAX_DISTANCE, AL_MAX_GAIN, AL_MIN_GAIN, AL_NO_ERROR, AL_NONE, AL_ORIENTATION, AL_OUT_OF_MEMORY, AL_PAUSED, AL_PENDING, AL_PITCH, AL_PLAYING, AL_POSITION, AL_PROCESSED, AL_REFERENCE_DISTANCE, AL_RENDERER, AL_ROLLOFF_FACTOR, AL_SAMPLE_OFFSET, AL_SEC_OFFSET, AL_SIZE, AL_SOURCE_RELATIVE, AL_SOURCE_STATE, AL_SOURCE_TYPE, AL_SPEED_OF_SOUND, AL_STATIC, AL_STOPPED, AL_STREAMING, AL_TRUE, AL_UNDETERMINED, AL_UNUSED, AL_VELOCITY, AL_VENDOR, AL_VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      AndroidAL()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void alBufferData​(int buffer, int format, java.nio.ByteBuffer data, int size, int frequency)  
      void alDeleteBuffers​(int numBuffers, java.nio.IntBuffer buffers)  
      void alDeleteSources​(int numSources, java.nio.IntBuffer sources)  
      void alGenBuffers​(int numBuffers, java.nio.IntBuffer buffers)  
      int alGenSources()  
      int alGetError()  
      int alGetSourcei​(int source, int param)  
      java.lang.String alGetString​(int parameter)  
      void alListener​(int param, java.nio.FloatBuffer data)  
      void alListener3f​(int param, float value1, float value2, float value3)  
      void alListenerf​(int param, float value)  
      void alSource3f​(int source, int param, float value1, float value2, float value3)  
      void alSource3i​(int source, int param, int value1, int value2, int value3)  
      void alSourcef​(int source, int param, float value)  
      void alSourcei​(int source, int param, int value)  
      void alSourcePause​(int source)  
      void alSourcePlay​(int source)  
      void alSourceQueueBuffers​(int source, int numBuffers, java.nio.IntBuffer buffers)  
      void alSourceStop​(int source)  
      void alSourceUnqueueBuffers​(int source, int numBuffers, java.nio.IntBuffer buffers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidAL

        public AndroidAL()
    • Method Detail

      • alGetString

        public java.lang.String alGetString​(int parameter)
        Specified by:
        alGetString in interface com.jme3.audio.openal.AL
      • alGenSources

        public int alGenSources()
        Specified by:
        alGenSources in interface com.jme3.audio.openal.AL
      • alGetError

        public int alGetError()
        Specified by:
        alGetError in interface com.jme3.audio.openal.AL
      • alDeleteSources

        public void alDeleteSources​(int numSources,
                                    java.nio.IntBuffer sources)
        Specified by:
        alDeleteSources in interface com.jme3.audio.openal.AL
      • alGenBuffers

        public void alGenBuffers​(int numBuffers,
                                 java.nio.IntBuffer buffers)
        Specified by:
        alGenBuffers in interface com.jme3.audio.openal.AL
      • alDeleteBuffers

        public void alDeleteBuffers​(int numBuffers,
                                    java.nio.IntBuffer buffers)
        Specified by:
        alDeleteBuffers in interface com.jme3.audio.openal.AL
      • alSourceStop

        public void alSourceStop​(int source)
        Specified by:
        alSourceStop in interface com.jme3.audio.openal.AL
      • alSourcei

        public void alSourcei​(int source,
                              int param,
                              int value)
        Specified by:
        alSourcei in interface com.jme3.audio.openal.AL
      • alBufferData

        public void alBufferData​(int buffer,
                                 int format,
                                 java.nio.ByteBuffer data,
                                 int size,
                                 int frequency)
        Specified by:
        alBufferData in interface com.jme3.audio.openal.AL
      • alSourcePlay

        public void alSourcePlay​(int source)
        Specified by:
        alSourcePlay in interface com.jme3.audio.openal.AL
      • alSourcePause

        public void alSourcePause​(int source)
        Specified by:
        alSourcePause in interface com.jme3.audio.openal.AL
      • alSourcef

        public void alSourcef​(int source,
                              int param,
                              float value)
        Specified by:
        alSourcef in interface com.jme3.audio.openal.AL
      • alSource3f

        public void alSource3f​(int source,
                               int param,
                               float value1,
                               float value2,
                               float value3)
        Specified by:
        alSource3f in interface com.jme3.audio.openal.AL
      • alGetSourcei

        public int alGetSourcei​(int source,
                                int param)
        Specified by:
        alGetSourcei in interface com.jme3.audio.openal.AL
      • alSourceUnqueueBuffers

        public void alSourceUnqueueBuffers​(int source,
                                           int numBuffers,
                                           java.nio.IntBuffer buffers)
        Specified by:
        alSourceUnqueueBuffers in interface com.jme3.audio.openal.AL
      • alSourceQueueBuffers

        public void alSourceQueueBuffers​(int source,
                                         int numBuffers,
                                         java.nio.IntBuffer buffers)
        Specified by:
        alSourceQueueBuffers in interface com.jme3.audio.openal.AL
      • alListener

        public void alListener​(int param,
                               java.nio.FloatBuffer data)
        Specified by:
        alListener in interface com.jme3.audio.openal.AL
      • alListenerf

        public void alListenerf​(int param,
                                float value)
        Specified by:
        alListenerf in interface com.jme3.audio.openal.AL
      • alListener3f

        public void alListener3f​(int param,
                                 float value1,
                                 float value2,
                                 float value3)
        Specified by:
        alListener3f in interface com.jme3.audio.openal.AL
      • alSource3i

        public void alSource3i​(int source,
                               int param,
                               int value1,
                               int value2,
                               int value3)
        Specified by:
        alSource3i in interface com.jme3.audio.openal.AL