/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ALSA sequencer Timer * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
*/ #ifndef __SND_SEQ_TIMER_H #define __SND_SEQ_TIMER_H
struct snd_seq_timer_tick {
snd_seq_tick_time_t cur_tick; /* current tick */ unsignedlong resolution; /* time per tick in nsec */ unsignedlong fraction; /* current time per tick in nsec */
};
struct snd_seq_timer { /* ... tempo / offset / running state */
unsignedint running:1, /* running state of queue */
initialized:1; /* timer is initialized */
unsignedint tempo; /* current tempo, us/tick */ int ppq; /* time resolution, ticks/quarter */
snd_seq_real_time_t cur_time; /* current time */ struct snd_seq_timer_tick tick; /* current tick */ int tick_updated;
int type; /* timer type */ struct snd_timer_id alsa_id; /* ALSA's timer ID */ struct snd_timer_instance *timeri; /* timer instance */ unsignedint ticks; unsignedlong preferred_resolution; /* timer resolution, ticks/sec */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.