mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
small sequencer fixes
This commit is contained in:
parent
a3aaf0582a
commit
a6cd55dcfe
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ void snd_seq_ev_schedule_tick(snd_seq_event_t *ev, int q, int relative,
|
|||
ev->flags |= SND_SEQ_TIME_STAMP_TICK;
|
||||
ev->flags |= relative ? SND_SEQ_TIME_MODE_REL : SND_SEQ_TIME_MODE_ABS;
|
||||
ev->time.tick = tick;
|
||||
ev->queue = q;
|
||||
}
|
||||
|
||||
/* queued on real-time */
|
||||
|
|
@ -60,6 +61,7 @@ void snd_seq_ev_schedule_real(snd_seq_event_t *ev, int q, int relative,
|
|||
ev->flags |= SND_SEQ_TIME_STAMP_REAL;
|
||||
ev->flags |= relative ? SND_SEQ_TIME_MODE_REL : SND_SEQ_TIME_MODE_ABS;
|
||||
ev->time.real = *real;
|
||||
ev->queue = q;
|
||||
}
|
||||
|
||||
/* set event priority */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue