github.com/gotranspile/cxgo@v0.3.8-0.20240118201721-29871598a6a2/libs/includes/AL/al.h (about)

     1  
     2  #define ALvoid void
     3  
     4  typedef unsigned int ALuint;
     5  typedef int ALint;
     6  typedef int ALsizei;
     7  typedef int ALenum;
     8  typedef float ALfloat;
     9  
    10  const int INT16_MIN = 0;
    11  const int INT16_MAX = 0;
    12  
    13  const int AL_NO_ERROR = 0;
    14  const int AL_BUFFERS_PROCESSED = 0;
    15  const int AL_PITCH = 0;
    16  const int AL_GAIN = 0;
    17  const int AL_POSITION = 0;
    18  const int AL_SOURCE_STATE = 0;
    19  const int AL_PLAYING = 0;
    20  const int AL_FORMAT_STEREO16 = 0;
    21  const int AL_FORMAT_MONO16 = 0;
    22  
    23  ALenum alGetError(ALvoid);
    24  
    25  void alGetSourcei(ALuint source, ALenum pname, ALint* value);
    26  void alSourcef(ALuint source, ALenum param, ALfloat value);
    27  void alSourcefv(ALuint source, ALenum param, ALfloat* values);
    28  void alListenerf(ALenum param, ALfloat value);
    29  void alListener3f(ALenum param, ALfloat v1, ALfloat v2, ALfloat v3);
    30  void alGenSources(ALsizei n, ALuint* sources);
    31  void alGenBuffers(ALsizei n, ALuint* buffers);
    32  void alBufferData(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq);
    33  void alSourceQueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
    34  void alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint* buffers);
    35  void alSourcePlay(ALuint source);
    36  void alSourceStop(ALuint source);
    37