projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46fee46
)
fix playback of small sound files
author
Lennart Poettering
<lennart@poettering.net>
Wed, 24 May 2006 00:42:30 +0000
(
00:42
+0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 24 May 2006 00:42:30 +0000
(
00:42
+0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@955
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/utils/padsp.c
patch
|
blob
|
history
diff --git
a/src/utils/padsp.c
b/src/utils/padsp.c
index
ed34ac8
..
d9325df
100644
(file)
--- a/
src/utils/padsp.c
+++ b/
src/utils/padsp.c
@@
-977,7
+977,7
@@
static int dsp_empty_socket(fd_info *i) {
for (;;) {
int l;
- if (i->thread_fd < 0
|| !i->stream
)
+ if (i->thread_fd < 0)
break;
if (ioctl(i->thread_fd, SIOCINQ, &l) < 0) {
@@
-985,8
+985,10
@@
static int dsp_empty_socket(fd_info *i) {
break;
}
- if (!l)
+ if (!l) {
+ ret = 0;
break;
+ }
pa_threaded_mainloop_wait(i->mainloop);
}