aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/base.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-01 07:25:23 -0800
committerChris Robinson <[email protected]>2014-01-01 07:25:23 -0800
commit0a5a08c0fb942e4db407f6eccc86c091dc7c362f (patch)
treeed9bd455c1aedaa680f38283018cc29ee158a87f /Alc/midi/base.h
parente699ab8614d1806c8961efa02a947d3e25e0bc67 (diff)
Pass the ALsoundfont object to loadSf2, rather than its ID
Diffstat (limited to 'Alc/midi/base.h')
-rw-r--r--Alc/midi/base.h4
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;