aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-06-28 01:10:37 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-06-28 01:28:39 +0200
commit7181959675c1658cff313a161f3a96f88a118baa (patch)
tree184a8e273d97e7c8edc7b4fb310751b1c4d3d5ad /include/adlmidi.h
parent96960d1dd9ff21adfc4e5171f4a6ef4f2a3e57a6 (diff)
downloadlibADLMIDI-7181959675c1658cff313a161f3a96f88a118baa.tar.gz
libADLMIDI-7181959675c1658cff313a161f3a96f88a118baa.tar.bz2
libADLMIDI-7181959675c1658cff313a161f3a96f88a118baa.zip
basic channel description API
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index a1289a0..00f478b 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -270,6 +270,9 @@ extern void adl_positionRewind(struct ADL_MIDIPlayer *device);
/*Set tempo multiplier: 1.0 - original tempo, >1 - play faster, <1 - play slower */
extern void adl_setTempo(struct ADL_MIDIPlayer *device, double tempo);
+/*Get a textual description of the channel state. For display only.*/
+extern int adl_describeChannels(struct ADL_MIDIPlayer *device, char *text, char *attr, size_t size);
+
/*Close and delete ADLMIDI device*/
extern void adl_close(struct ADL_MIDIPlayer *device);