diff options
author | Jaroslav Kysela <perex@perex.cz> | 2003-10-13 10:42:32 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2003-10-13 10:42:32 +0000 |
commit | 72c814db2a4f4d3f590e098b7959290fe0d82786 (patch) | |
tree | 4e326434320d3ad6209d4bebbb6437e8bd65ed27 /test | |
parent | 2fb3e68e11eaf713273649faa8ebcfdf0bdf3128 (diff) |
Fixed typo
Diffstat (limited to 'test')
-rw-r--r-- | test/pcm.c | 2 |
1 files changed, 1 insertions, 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; } |