Re: [PATCH v2] [RFC] selftests: alsa - add PCM test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16. 11. 22 15:03, Takashi Iwai wrote:
On Tue, 08 Nov 2022 12:59:14 +0100,
Jaroslav Kysela wrote:

This initial code does a simple sample transfer tests. By default,
all PCM devices are detected and tested with short and long
buffering parameters for 4 seconds. If the sample transfer timing
is not in a +-100ms boundary, the test fails. Only the interleaved
buffering scheme is supported in this version.

The configuration may be modified with the configuration files.
A specific hardware configuration is detected and activated
using the sysfs regex matching. This allows to use the DMI string
(/sys/class/dmi/id/* tree) or any other system parameters
exposed in sysfs for the matching for the CI automation.

The configuration file may also specify the PCM device list to detect
the missing PCM devices.

v1..v2:
   - added missing alsa-local.h header file

Cc: Mark Brown <broonie@xxxxxxxxxx>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxx>
Cc: Liam Girdwood <liam.r.girdwood@xxxxxxxxx>
Cc: Jesse Barnes <jsbarnes@xxxxxxxxxx>
Cc: Jimmy Cheng-Yi Chiang <cychiang@xxxxxxxxxx>
Cc: Curtis Malainey <cujomalainey@xxxxxxxxxx>
Cc: Brian Norris <briannorris@xxxxxxxxxxxx>
Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Sorry for the late reply.

The patch looks good and works fine on the smoke test, so I applied it
now.  There are a few issues Mark already commented on, and we can fix
or improve them in incremental manner later.

Thanks. I will try to work the Mark's comments when I find a free time.

				Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux