mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04: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) \
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue