mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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 <giuliomoro@yahoo.it> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
da744ef116
commit
431f69a8c3
1 changed files with 2 additions and 2 deletions
|
|
@ -260,11 +260,11 @@ int setparams(snd_pcm_t *phandle, snd_pcm_t *chandle, int *bufsize)
|
||||||
return -1;
|
return -1;
|
||||||
__set_it:
|
__set_it:
|
||||||
if ((err = setparams_bufsize(phandle, p_params, pt_params, *bufsize, "playback")) < 0) {
|
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);
|
exit(0);
|
||||||
}
|
}
|
||||||
if ((err = setparams_bufsize(chandle, c_params, ct_params, *bufsize, "capture")) < 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);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue