raze/polymer/eduke32/source/jaudiolib/openal.h
terminx bc0f8369e6 Dynamic object loader for OpenAL
git-svn-id: https://svn.eduke32.com/eduke32@636 1a8010ca-5511-0410-912e-c29ae57300e0
2008-03-08 06:51:53 +00:00

28 lines
542 B
C

#ifndef __OPENAL_H
#define __OPENAL_H
#include <vorbis/vorbisfile.h>
int AL_Init();
void AL_Shutdown();
void AL_Update();
char *AL_ErrorString(int code);
char *ALC_ErrorString(int code);
void AL_stop();
int AL_isntALmusic();
void AL_PlaySong(char *song,int loopflag);
void AL_Pause();
void AL_Continue();
void AL_SetMusicVolume(int volume);
typedef struct sounddef
{
unsigned pos;
char *ptrsnd;
unsigned size;
OggVorbis_File oggStream;
}sounddef;
int openal_disabled;
#endif