aboutsummaryrefslogtreecommitdiff
path: root/include/seq.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-07-11 15:48:27 +0000
committerJaroslav Kysela <perex@perex.cz>2001-07-11 15:48:27 +0000
commit3590f6ecd330349a9317fe999a619f6fadb3c7f2 (patch)
tree90fedfa8327a26020c2a8d7f31e89107cd042a62 /include/seq.h
parent052be891a55d3434eecd781c6dd0a7d2b146e9b0 (diff)
More documentation enhancements / removal of non-existent functions.
Diffstat (limited to 'include/seq.h')
-rw-r--r--include/seq.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/seq.h b/include/seq.h
index 6aa79a9c..59498059 100644
--- a/include/seq.h
+++ b/include/seq.h
@@ -32,6 +32,7 @@ do {\
*/
#define SND_SEQ_NONBLOCK 1 /**< non-blocking mode */
+/** sequencer handle type */
typedef enum _snd_seq_type {
SND_SEQ_TYPE_HW, /**< hardware */
SND_SEQ_TYPE_SHM, /**< shared memory (NYI) */
@@ -543,6 +544,7 @@ enum {
SND_SEQ_EVFLG_NOTE_ONEARG,
SND_SEQ_EVFLG_NOTE_TWOARG
};
+
enum {
SND_SEQ_EVFLG_QUEUE_NOARG,
SND_SEQ_EVFLG_QUEUE_TICK,
@@ -557,10 +559,11 @@ enum {
*/
extern const unsigned int snd_seq_event_types[];
-#define _SND_SEQ_TYPE(x) (1<<(x)) /* 24bit */
-#define _SND_SEQ_TYPE_OPT(x) ((x)<<24) /* 8bit */
+#define _SND_SEQ_TYPE(x) (1<<(x)) /**< master type - 24bit */
+#define _SND_SEQ_TYPE_OPT(x) ((x)<<24) /**< optional type - 8bit */
-#define snd_seq_type_check(ev,x) (snd_seq_event_types[(ev)->type] & _SND_SEQ_TYPE(x))
+/** check the event type */
+#define snd_seq_type_check(ev,x) (snd_seq_event_types[(ev)->type] & _SND_SEQ_TYPE(x))
/** event type check: result events */
#define snd_seq_ev_is_result_type(ev) \