alsa-lib/include/sound
Takashi Iwai 24c7f42733 seq: Add API functions to set different tempo base values
MIDI2 Set Tempo message uses 10ns-based values, and we need to update
the API to change the base time unit.

This patch adds a few new API functions:
- snd_seq_has_queue_tempo_base() returns 1 if the client supports a
  new tempo-base value; if 0, it's an old system and application has
  to use the tempo in the fixed 1us unit
- the tempo base can be changed with
  snd_seq_queue_tempo_set_tempo_base(), provided in nsec unit;
  the value has to be either 10 or 1000 (or 0 as default, equivalent
  with 1000)

The protocol version is checked and fallback to the fixed 1us base for
the old clients.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-07-05 17:12:44 +02:00
..
uapi seq: Add API functions to set different tempo base values 2024-07-05 17:12:44 +02:00
asequencer.h Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
asoc.h Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
asound.h asound.h: fix the __packed use for the out-of-kernel code 2021-08-20 21:15:01 +02:00
asound_fm.h Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
emu10k1.h uapi: Move typedefs from uapi to sound/* 2019-12-20 17:12:37 +01:00
hdsp.h uapi: Move typedefs from uapi to sound/* 2019-12-20 17:12:37 +01:00
hdspm.h uapi: Move typedefs from uapi to sound/* 2019-12-20 17:12:37 +01:00
Makefile.am Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
sb16_csp.h uapi: Move typedefs from uapi to sound/* 2019-12-20 17:12:37 +01:00
sscape_ioctl.h Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
tlv.h Fix alsa/sound/*.h for external programs 2019-12-20 16:43:50 +01:00
type_compat.h add FreeBSD build support (except test/) 2022-10-17 13:11:34 +02:00