OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e34947b
)
Added snd_seq_ev_set_tag() macro
author
Jaroslav Kysela
<perex@perex.cz>
Thu, 3 Mar 2005 11:13:00 +0000
(11:13 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 3 Mar 2005 11:13:00 +0000
(11:13 +0000)
include/seqmid.h
patch
|
blob
|
history
diff --git
a/include/seqmid.h
b/include/seqmid.h
index
411e661
..
80fd0ac
100644
(file)
--- a/
include/seqmid.h
+++ b/
include/seqmid.h
@@
-49,6
+49,16
@@
extern "C" {
memset(ev, 0, sizeof(snd_seq_event_t))
/**
+ * \brief set the tag for given event
+ * \param ev event record
+ * \param tag event tag
+ *
+ * This macro sets the tag to the given event record.
+ */
+#define snd_seq_ev_set_tag(ev,t) \
+ ((ev)->tag = (t))
+
+/**
* \brief set the explicit destination
* \param ev event record
* \param c destination client id