alsa-lib/test
Jaroslav Kysela 5a5c2953ea rawmidi: define more abstract API for the timestamp reads
The frame structure is a bit internal thing for the kernel
data transfer implementation. Introduce snd_rawmidi_tread()
function which is straight for the application usage and hides
the framing data transfers (kernel space API).

The current code implements the read cache and does the merging
of the frame reads with the similar timestamps (opposite
to the kernel data split for big chunks).

If the application wants to use super-duper-lighting-fast reads,
the snd_rawmidi_read() may be used, but the structure must be
defined on it's own, because this mechanism is not preferred
and unsupported.

BugLink: https://github.com/alsa-project/alsa-lib/issues/172
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 08:40:20 +02:00
..
lsb add config tests 2009-08-03 13:35:01 +02:00
ucm ucm: allow bind modifier to specific instances, other fixes 2011-01-31 14:24:19 +01:00
audio_time.c test: audio_time - fix timestamp2ns() and usage() 2021-04-13 19:49:48 +02:00
chmap.c test/chmap: Add missing usage text for -s option 2013-11-04 14:19:03 +01:00
client_event_filter.c add a test code for snd_seq_client_info_event_filter_*() 2008-02-22 17:49:01 +01:00
control.c added snd_user_file() function 2003-09-03 19:25:08 +00:00
latency.c Printf unsigned long with %lu instead of %li (latency.c) 2019-04-09 10:27:36 +02:00
Makefile.am test: rename code to more approriate mixtest 2018-10-24 12:07:33 +02:00
midifile.3 Fix hyphens in man pages 2004-10-08 16:15:32 +00:00
midifile.c Printf unsigned longs with %lu instead of %li (midifile.c) 2019-04-09 10:27:36 +02:00
midifile.h Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
midiloop.c Fix invalid long long format specifier 2012-04-24 15:38:45 +02:00
mixtest.c Printf unsigned long longs with %llu (mixtest.c) 2019-04-09 10:27:36 +02:00
namehint.c change iface argument for namehint function to const char * 2006-10-27 13:31:32 +02:00
oldapi.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
omixer.c ALISP update 2003-12-23 16:42:55 +00:00
pcm-multi-thread.c test: Add pcm-multi-thread program 2016-07-07 16:30:54 +02:00
pcm.c Printf unsigned ints with %u instead of %i (pcm.c) 2019-04-09 10:27:36 +02:00
pcm_min.c test: pcm_min - add snd_pcm_drain() call and indentation fixes 2020-05-03 20:07:55 +02:00
playmidi1.c Printf unsigned longs with %lu instead of %ld (playmidi1.c) 2019-04-09 10:27:36 +02:00
queue_timer.c Fix compile errors/warnings 2005-11-21 10:48:52 +00:00
rawmidi.c rawmidi: define more abstract API for the timestamp reads 2021-10-28 08:40:20 +02:00
seq-decoder.c test/seq-decoder: enable timestamping for external subscribers 2017-10-03 09:14:07 +02:00
seq-sender.c Fix compile errors/warnings 2005-11-21 10:48:52 +00:00
seq.c Fix compile errors/warnings 2005-11-21 10:48:52 +00:00
timer.c added full async interface to timer API 2005-05-11 12:18:51 +00:00
user-ctl-element-set.c test: use position offset macro of TLV data 2018-05-15 18:03:13 +02:00