[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33bea0d3-b8dd-4936-812e-392166df4437@sirena.org.uk>
Date: Wed, 21 Jun 2023 14:08:40 +0100
From: Mark Brown <broonie@...nel.org>
To: NĂcolas F. R. A. Prado
<nfraprado@...labora.com>
Cc: kernel@...labora.com,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Jaroslav Kysela <perex@...ex.cz>,
Shuah Khan <shuah@...nel.org>, Takashi Iwai <tiwai@...e.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 2/2] kselftest/alsa: pcm-test: Decrease stream duration
from 4 to 2 seconds
On Tue, Jun 20, 2023 at 06:08:26PM -0400, NĂcolas F. R. A. Prado wrote:
> - const int duration_s = 4, margin_ms = 100;
> + const int duration_s = 2, margin_ms = 100;
This doesn't scale the margin with the duration which will affect the
sensitivity of the test to misclocking. It should make it less
sensitive which is *probably* safer but at least worth noting.
We might also have issues with some of the lower sample rates, IIRC some
devices are constrained in ways that mean they want a minimum buffer
size which is harder to satisfy with very short playbacks and low sample
rates.
I don't know why Jaroslav picked the 4s number here.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists