aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2018-06-29 05:26:44 +0300
committerGitHub <noreply@github.com>2018-06-29 05:26:44 +0300
commitc8595d01aba305694d9fd8754ecc6fe4ac0f1ec2 (patch)
tree819889893b3aafb1286044cc5282c6b4b1d30680 /include/adlmidi.h
parent242fb110d6910c1c15656daf5982812437b3e8c1 (diff)
parent7181959675c1658cff313a161f3a96f88a118baa (diff)
downloadlibADLMIDI-c8595d01aba305694d9fd8754ecc6fe4ac0f1ec2.tar.gz
libADLMIDI-c8595d01aba305694d9fd8754ecc6fe4ac0f1ec2.tar.bz2
libADLMIDI-c8595d01aba305694d9fd8754ecc6fe4ac0f1ec2.zip
Merge pull request #123 from jpcima/describe-channels
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);