Re: [PATCH 1/1] test: test sandbox sound driver more rigorously

2022-12-04 Thread Simon Glass
On Mon, 5 Dec 2022 at 05:16, Heinrich Schuchardt wrote: > > Consider unexpected values for frequency: > > * negative frequency > * zero frequency > * frequency exceeding sampling frequency > > As in these cases the sum of the samples is zero also check the count of > the samples. > > Signed-off-by

[PATCH 1/1] test: test sandbox sound driver more rigorously

2022-12-04 Thread Heinrich Schuchardt
Consider unexpected values for frequency: * negative frequency * zero frequency * frequency exceeding sampling frequency As in these cases the sum of the samples is zero also check the count of the samples. Signed-off-by: Heinrich Schuchardt --- arch/sandbox/include/asm/test.h | 10 ++