mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
test: add audio_time
Simple test to create playback and capture streams, and check elapsed time vs. sample counts reported by driver. This should be helpful for driver developers and anyone interested in system/audio time drift. tested only on HDAudio [added Makefile.am change by tiwai] TODO: - make period configurable - better output messages - support for wall clock when it's in the mainline Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5a6ce31520
commit
6429a450a3
2 changed files with 240 additions and 1 deletions
|
|
@ -2,7 +2,8 @@ SUBDIRS=. lsb
|
|||
|
||||
check_PROGRAMS=control pcm pcm_min latency seq \
|
||||
playmidi1 timer rawmidi midiloop \
|
||||
oldapi queue_timer namehint client_event_filter chmap
|
||||
oldapi queue_timer namehint client_event_filter \
|
||||
chmap audio_time
|
||||
|
||||
control_LDADD=../src/libasound.la
|
||||
pcm_LDADD=../src/libasound.la
|
||||
|
|
@ -19,6 +20,7 @@ namehint_LDADD=../src/libasound.la
|
|||
client_event_filter_LDADD=../src/libasound.la
|
||||
code_CFLAGS=-Wall -pipe -g -O2
|
||||
chmap_LDADD=../src/libasound.la
|
||||
audio_time_LDADD=../src/libasound.la
|
||||
|
||||
INCLUDES=-I$(top_srcdir)/include
|
||||
AM_CFLAGS=-Wall -pipe -g
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue