From 431f69a8c3d9f482d2d15d038d84711eeda0819d Mon Sep 17 00:00:00 2001 From: Giulio Moro Date: Wed, 31 Jan 2024 14:54:30 -0500 Subject: [PATCH] tests: latency.c - fix copy-n-paste typos (sw -> hw params) in error messages Closes: https://github.com/alsa-project/alsa-lib/pull/384 Signed-off-by: Giulio Moro Signed-off-by: Jaroslav Kysela --- test/latency.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/latency.c b/test/latency.c index ae37c11a..c40b2ae7 100644 --- a/test/latency.c +++ b/test/latency.c @@ -260,11 +260,11 @@ int setparams(snd_pcm_t *phandle, snd_pcm_t *chandle, int *bufsize) return -1; __set_it: if ((err = setparams_bufsize(phandle, p_params, pt_params, *bufsize, "playback")) < 0) { - printf("Unable to set sw parameters for playback stream: %s\n", snd_strerror(err)); + printf("Unable to set hw parameters for playback stream: %s\n", snd_strerror(err)); exit(0); } if ((err = setparams_bufsize(chandle, c_params, ct_params, *bufsize, "capture")) < 0) { - printf("Unable to set sw parameters for playback stream: %s\n", snd_strerror(err)); + printf("Unable to set hw parameters for capture stream: %s\n", snd_strerror(err)); exit(0); } -- 2.47.1