summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-05-12 07:23:32 +0000
committerJaroslav Kysela <perex@perex.cz>2002-05-12 07:23:32 +0000
commitf74dc6ba7468922f2574f25d0447c2c5155a5f89 (patch)
tree6f00f4d8799126bd5fa691ae97472ad73d9fef89 /src/seq
parent8fa8c25f0be88f8aee4bdcf5dcb7e00083336ee0 (diff)
Added snd_seq_port_subscribe_set_voices()
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/seq/seq.c b/src/seq/seq.c
index bbaff70d..df2a5f40 100644
--- a/src/seq/seq.c
+++ b/src/seq/seq.c
@@ -1456,6 +1456,17 @@ void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t *info, int q)
}
/**
+ * \brief Set the voices of a port_subscribe container
+ * \param info port_subscribe container
+ * \param voices voices to be allocated (0 = don't care)
+ */
+void snd_seq_port_subscribe_set_voices(snd_seq_port_subscribe_t *info, unsigned int voices)
+{
+ assert(info);
+ info->voices = voices;
+}
+
+/**
* \brief Set the exclusive mode of a port_subscribe container
* \param info port_subscribe container
* \param val non-zero to enable