projects
/
external
/
alsa-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen 2.3.1 release
[external/alsa-lib.git]
/
src
/
pcm
/
pcm_simple.c
diff --git
a/src/pcm/pcm_simple.c
b/src/pcm/pcm_simple.c
index
975f699
..
f943ec0
100644
(file)
--- a/
src/pcm/pcm_simple.c
+++ b/
src/pcm/pcm_simple.c
@@
-89,7
+89,7
@@
static int set_hw_params(snd_pcm_t *pcm,
return err;
if (periods == 1)
return -EINVAL;
- if (
*period_time == 0
) {
+ if (
period_time
) {
err = INTERNAL(snd_pcm_hw_params_get_period_time)(hw_params, period_time, NULL);
if (err < 0)
return err;