mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fixed typo
This commit is contained in:
parent
2fb3e68e11
commit
72c814db2a
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ static int set_hwparams(snd_pcm_t *handle,
|
|||
return err;
|
||||
}
|
||||
err = snd_pcm_hw_params_get_period_size(params, &period_size, &dir);
|
||||
if (err > 0) {
|
||||
if (err < 0) {
|
||||
printf("Unable to get period size for playback: %s\n", snd_strerror(err));
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue