OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c580e02
)
Removed useless check
author
Jaroslav Kysela
<perex@perex.cz>
Thu, 1 Nov 2001 07:23:28 +0000
(07:23 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 1 Nov 2001 07:23:28 +0000
(07:23 +0000)
test/pcm.c
patch
|
blob
|
history
diff --git
a/test/pcm.c
b/test/pcm.c
index
997b392
..
2851fec
100644
(file)
--- a/
test/pcm.c
+++ b/
test/pcm.c
@@
-400,8
+400,6
@@
static int direct_loop(snd_pcm_t *handle,
printf("MMAP begin error: %s\n", snd_strerror(err));
exit(EXIT_FAILURE);
}
- if (frames > period_size)
- frames = period_size;
generate_sine(my_areas, offset, frames, &phase);
err = snd_pcm_mmap_commit(handle, offset, frames);
if (err < 0) {