mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-23 05:33:48 -04:00
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> |
||
|---|---|---|
| .. | ||
| sound | ||
| alisp.h | ||
| alsa-symbols.h | ||
| aserver.h | ||
| asoundef.h | ||
| asoundlib-head.h | ||
| asoundlib-tail.h | ||
| bswap.h | ||
| conf.h | ||
| control.h | ||
| control_external.h | ||
| control_plugin.h | ||
| error.h | ||
| global.h | ||
| hwdep.h | ||
| input.h | ||
| list.h | ||
| local.h | ||
| Makefile.am | ||
| mixer.h | ||
| mixer_abst.h | ||
| output.h | ||
| pcm.h | ||
| pcm_external.h | ||
| pcm_extplug.h | ||
| pcm_ioplug.h | ||
| pcm_old.h | ||
| pcm_plugin.h | ||
| pcm_rate.h | ||
| rawmidi.h | ||
| search.h | ||
| seq.h | ||
| seq_event.h | ||
| seq_midi_event.h | ||
| seqmid.h | ||
| sys.h | ||
| timer.h | ||
| topology.h | ||
| type_compat.h | ||
| ump.h | ||
| ump_msg.h | ||
| use-case.h | ||