diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-12 01:23:06 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-12 01:23:06 +0300 |
commit | 0c4415d1188456bc954582a8a84ab9d223277df3 (patch) | |
tree | acac283dfc25af358eeb764a70a15765a562d908 /include/adlmidi.h | |
parent | 1fd5e88ea326b05680ba213b9af0416162c36290 (diff) | |
download | libADLMIDI-0c4415d1188456bc954582a8a84ab9d223277df3.tar.gz libADLMIDI-0c4415d1188456bc954582a8a84ab9d223277df3.tar.bz2 libADLMIDI-0c4415d1188456bc954582a8a84ab9d223277df3.zip |
Fix the damaged output regression and a small beautifying
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r-- | include/adlmidi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index 8ba8939..3e5d444 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -251,16 +251,16 @@ extern struct Adl_MarkerEntry adl_metaMarker(struct ADL_MIDIPlayer *device, size /*Take a sample buffer and iterate MIDI timers */ -extern int adl_play(struct ADL_MIDIPlayer *device, int sampleCount, short out[]); +extern int adl_play(struct ADL_MIDIPlayer *device, int sampleCount, short *out); /*Take a sample buffer and iterate MIDI timers */ -extern int adl_playFormat(struct ADL_MIDIPlayer *device, int sampleCount, ADL_UInt8 left[], ADL_UInt8 right[], const struct ADLMIDI_AudioFormat *format); +extern int adl_playFormat(struct ADL_MIDIPlayer *device, int sampleCount, ADL_UInt8 *left, ADL_UInt8 *right, const struct ADLMIDI_AudioFormat *format); /*Generate audio output from chip emulators without iteration of MIDI timers.*/ -extern int adl_generate(struct ADL_MIDIPlayer *device, int sampleCount, short out[]); +extern int adl_generate(struct ADL_MIDIPlayer *device, int sampleCount, short *out); /*Generate audio output from chip emulators without iteration of MIDI timers.*/ -extern int adl_generateFormat(struct ADL_MIDIPlayer *device, int sampleCount, ADL_UInt8 left[], ADL_UInt8 right[], const struct ADLMIDI_AudioFormat *format); +extern int adl_generateFormat(struct ADL_MIDIPlayer *device, int sampleCount, ADL_UInt8 *left, ADL_UInt8 *right, const struct ADLMIDI_AudioFormat *format); /** * @brief Periodic tick handler. |