David Henningsson
f8aa823998
alsa-time-test: Make constants for channels and rate
...
Hard-coding constants on several places is bad coding practice.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-09-18 11:51:47 +02:00
David Henningsson
c9e8c0703f
alsa-time-test: Do not use Lennart's card by default
...
Lennart probably had a card with a specific name. It is not a
common name anymore.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-09-18 11:51:42 +02:00
David Henningsson
d303489ef0
alsa-time-test: Add fillrate parameter
...
As a third parameter, add the number of samples to read/write in
every iteration. This will help slow CPUs.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-09-18 11:51:37 +02:00
Arun Raghavan
93a4a82bd3
tests: Minor alsa-time-test improvments
...
Tries to get RT privs and prints elapsed time and a periodic header to
make grokking the output easier.
2013-03-25 09:47:04 +00:00
Arun Raghavan
700cd890a9
Revert "tests: modify alsa-time-test to use 'check' framework"
...
This reverts commit 1569601864 .
Rethinking this, it makes more sense to not add this to the check
framework. This is mostly useful for exposing ALSA driver issues, and
it's handy to be able to build this as a standalone executable.
2012-11-05 17:48:20 +05:30
Deng Zhengrong
1569601864
tests: modify alsa-time-test to use 'check' framework
2012-08-20 07:05:59 +05:30
Maarten Bosmans
9133c6c935
Make gcc --std=c99 happy
...
We're now more or less C99 compliant
2011-09-03 12:17:28 +02:00
Wim Taymans
b0042cec71
alsa-time-test: make test usable for capture too
...
Extend the test to also work for capture devices.
2010-09-07 12:23:14 +02:00
Lennart Poettering
ca9cd14659
add a few missing initializations
2009-04-14 01:23:07 +02:00
Lennart Poettering
e335b3d6ca
prepare test for tracking down ens1371 issue
2009-02-22 03:55:54 +01:00
Lennart Poettering
fa2e07a0bd
add test tool for debugging broken timing in sound drivers
2009-02-20 03:19:33 +01:00