diff options
Diffstat (limited to 'Alc/midi/base.h')
-rw-r--r-- | Alc/midi/base.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/midi/base.h b/Alc/midi/base.h index dd7788e6..7dc80395 100644 --- a/Alc/midi/base.h +++ b/Alc/midi/base.h @@ -9,6 +9,8 @@ extern "C" { #endif +struct ALsoundfont; + typedef size_t (*ReaderCb)(void *ptr, size_t size, void *stream); typedef struct Reader { ReaderCb cb; @@ -18,7 +20,7 @@ typedef struct Reader { #define READ(x_, buf_, len_) ((x_)->cb((buf_), (len_), (x_)->ptr)) #define READERR(x_) ((x_)->error) -ALboolean loadSf2(Reader *stream, ALuint sfid); +ALboolean loadSf2(Reader *stream, struct ALsoundfont *sfont, ALCcontext *context); struct MidiSynthVtable; |