fallout2-ce/src/audio.h

17 lines
491 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef AUDIO_H
#define AUDIO_H
#include "audio_file.h"
int audioOpen(const char* fname, int mode, ...);
int audioClose(int fileHandle);
int audioRead(int fileHandle, void* buffer, unsigned int size);
2022-05-21 08:22:03 -07:00
long audioSeek(int fileHandle, long offset, int origin);
2022-05-19 01:51:26 -07:00
long audioGetSize(int fileHandle);
long audioTell(int fileHandle);
int audioWrite(int handle, const void* buf, unsigned int size);
int audioInit(AudioFileIsCompressedProc* isCompressedProc);
void audioExit();
#endif /* AUDIO_H */