]> git.itanic.dy.fi Git - linux-stable/commit
kselftest/alsa: pcm-test: Move stream duration and margin to variables
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Tue, 20 Jun 2023 22:08:25 +0000 (18:08 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jul 2023 06:58:00 +0000 (08:58 +0200)
commit0825d54a3081151201bbfe05f4d408613ef3ef1e
treebb65290095640ab8b8a5ec39ab9d881aae20a98c
parent35bc3efb3157cc5a9c3b5853591c4dcef40f6029
kselftest/alsa: pcm-test: Move stream duration and margin to variables

The duration to stream for and time margin to consider the stream failed
are currently hardcoded values. Move them to variables so they can be
reused and more easily changed.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230620220839.2215057-2-nfraprado@collabora.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
tools/testing/selftests/alsa/pcm-test.c