Added snd_seq_ev_set_tag() macro

This commit is contained in:
Jaroslav Kysela 2005-03-03 11:13:00 +00:00
parent e34947b1cf
commit 4a34ac6acd

View file

@ -48,6 +48,16 @@ extern "C" {
#define snd_seq_ev_clear(ev) \
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