From c71f0d4dfe52a523b37416717299700e203f818d Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 6 Nov 2017 22:34:22 +0300 Subject: Repair instrument testing mode in ADLMIDI-2 utility --- include/adlmidi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/adlmidi.h') 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**/ -- cgit v1.2.3