mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Added snd_seq_ev_set_tag() macro
This commit is contained in:
parent
e34947b1cf
commit
4a34ac6acd
1 changed files with 10 additions and 0 deletions
|
|
@ -48,6 +48,16 @@ extern "C" {
|
||||||
#define snd_seq_ev_clear(ev) \
|
#define snd_seq_ev_clear(ev) \
|
||||||
memset(ev, 0, sizeof(snd_seq_event_t))
|
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
|
* \brief set the explicit destination
|
||||||
* \param ev event record
|
* \param ev event record
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue