mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-16 23:51:00 +00:00
d9867cfaaf
git-svn-id: https://svn.eduke32.com/eduke32@1105 1a8010ca-5511-0410-912e-c29ae57300e0
15 lines
473 B
C
15 lines
473 B
C
|
|
typedef struct {
|
|
unsigned int samplerate; // sample rate of the sound
|
|
unsigned short channels; // number of channels
|
|
unsigned short bitspersample; // bits per sample
|
|
unsigned short format; // 0 = pcm
|
|
unsigned int soundlength; // bytes required for sound storage
|
|
} SoundInfo;
|
|
|
|
|
|
int ReadVOCInfo(int fh, SoundInfo *snd);
|
|
int ReadVOCData(int fh, char *data, int bufferlen);
|
|
|
|
int ReadWAVInfo(int fh, SoundInfo *snd);
|
|
int ReadWAVData(int fh, char *data, int bufferlen);
|