mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 17:41:10 +00:00
beginnings of flac support. compiles but untested. if this doesn't crash,
I'll be surprised :)
This commit is contained in:
parent
fa8dfd3767
commit
dff68bfed0
6 changed files with 594 additions and 6 deletions
|
@ -83,7 +83,7 @@ typedef struct sfxblock_s {
|
|||
cache_user_t cache;
|
||||
} sfxblock_t;
|
||||
|
||||
// !!! if this is changed, it much be changed in asm_i386.h too !!!
|
||||
// !!! if this is changed, it must be changed in asm_i386.h too !!!
|
||||
struct channel_s {
|
||||
sfx_t *sfx; // sfx number
|
||||
int leftvol; // 0-255 volume
|
||||
|
@ -113,6 +113,7 @@ void SND_InitScaletable (void);
|
|||
void SND_Load (sfx_t *sfx);
|
||||
void SND_CallbackLoad (void *object, cache_allocator_t allocator);
|
||||
void SND_LoadOgg (QFile *file, sfx_t *sfx, char *realname);
|
||||
void SND_LoadFLAC (QFile *file, sfx_t *sfx, char *realname);
|
||||
void SND_LoadWav (QFile *file, sfx_t *sfx, char *realname);
|
||||
void SND_LoadMidi (QFile *file, sfx_t *sfx, char *realname);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue