]> git.alsa-project.org Git - alsa-lib.git/commit
test: add audio_time
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 22 Sep 2012 01:05:18 +0000 (20:05 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 22 Sep 2012 07:39:07 +0000 (09:39 +0200)
commit6429a450a315e00d9e00af46eb42784a4cc5dce1
tree730c7ae03dd494ab9fe7c4de18deaa6e90647efb
parent5a6ce315201f9e2abee51f4f890c1f5c6592c998
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>
test/Makefile.am
test/audio_time.c [new file with mode: 0644]