summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-09-19 16:12:13 +0000
committerJaroslav Kysela <perex@perex.cz>2002-09-19 16:12:13 +0000
commit7f3942d827661d747b49d225e46ec4dccc5e5d46 (patch)
treeb8512a5972456ac997cc16a3cfbbe104925ec0d6 /src/seq
parentec415ef3a95f2ad4b5acf62cbe0afd8b5658feb4 (diff)
Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when ALSA_PCM_NEW_HW_PARAMS_API is defined. Updated documentation and test code to new API.
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_midi_event.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/seq/seq_midi_event.c b/src/seq/seq_midi_event.c
index c4e5b984..c8339ca4 100644
--- a/src/seq/seq_midi_event.c
+++ b/src/seq/seq_midi_event.c
@@ -172,6 +172,13 @@ void snd_midi_event_free(snd_midi_event_t *dev)
}
}
+/**
+ * \brief Enable/disable MIDI command merging
+ * \param dev MIDI event parser
+ * \param on 0 - enable MIDI command merging, 1 - always pass the command
+ *
+ * Enable/disable MIDI command merging
+ */
void snd_midi_event_no_status(snd_midi_event_t *dev, int on)
{
dev->nostat = on ? 1 : 0;