mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-17 01:41:06 +00:00
27 lines
519 B
C
27 lines
519 B
C
|
#ifndef __OPENAL_H
|
||
|
#define __OPENAL_H
|
||
|
|
||
|
#include <vorbis/vorbisfile.h>
|
||
|
|
||
|
void 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;
|
||
|
#endif
|