Skip to content

Commit

Permalink
tests: latency.c - fix copy-n-paste typos (sw -> hw params) in error …
Browse files Browse the repository at this point in the history
…messages

Closes: #384
Signed-off-by: Giulio Moro <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
giuliomoro authored and perexg committed Feb 23, 2024
1 parent da744ef commit 431f69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/latency.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 431f69a

Please sign in to comment.