aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-06 22:34:22 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-06 22:34:22 +0300
commitc71f0d4dfe52a523b37416717299700e203f818d (patch)
tree7a0eccdd92953e8fccea037c9f7233faedf4b783 /include/adlmidi.h
parent26a31063f00fadb8ecd6517b71fe38269fd58be6 (diff)
downloadlibADLMIDI-c71f0d4dfe52a523b37416717299700e203f818d.tar.gz
libADLMIDI-c71f0d4dfe52a523b37416717299700e203f818d.tar.bz2
libADLMIDI-c71f0d4dfe52a523b37416717299700e203f818d.zip
Repair instrument testing mode in ADLMIDI-2 utility
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 6ecb22b..24fa4c9 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -175,9 +175,11 @@ extern const struct Adl_MarkerEntry adl_metaMarker(struct ADL_MIDIPlayer *device
-/*Take a sample buffer*/
+/*Take a sample buffer and iterate MIDI timers */
extern int adl_play(struct ADL_MIDIPlayer *device, int sampleCount, short out[]);
+/*Generate audio output from chip emulators without iteration of MIDI timers. 512 samples per channel is a maximum*/
+extern int adl_generate(ADL_MIDIPlayer *device, int sampleCount, short *out);
/**Hooks**/