
4 Dec
2022
4 Dec
'22
10:16 p.m.
On Mon, 5 Dec 2022 at 05:16, Heinrich Schuchardt heinrich.schuchardt@canonical.com 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: Heinrich Schuchardt heinrich.schuchardt@canonical.com
arch/sandbox/include/asm/test.h | 10 ++++++++++ drivers/sound/sandbox.c | 9 +++++++++ test/dm/sound.c | 11 +++++++++++ 3 files changed, 30 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org