projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57b915
)
fix error path (spotted by Coling Guthrie)
author
Lennart Poettering
<lennart@poettering.net>
Tue, 5 Aug 2008 14:31:17 +0000
(16:31 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 5 Aug 2008 14:31:17 +0000
(16:31 +0200)
src/utils/padsp.c
patch
|
blob
|
history
diff --git
a/src/utils/padsp.c
b/src/utils/padsp.c
index d650707ee89422763fa54d746565a7ae5a1aad45..c82fde64fa251985af2c68e312a71a7c8e94e3e0 100644
(file)
--- a/
src/utils/padsp.c
+++ b/
src/utils/padsp.c
@@
-2250,7
+2250,7
@@
static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
for (;;) {
pa_usec_t usec;
- PLAYBACK_STREAM_CHECK_DEAD_GOTO(i, exit_loop);
+ PLAYBACK_STREAM_CHECK_DEAD_GOTO(i, exit_loop
2
);
if (pa_stream_get_time(i->play_stream, &usec) >= 0) {
size_t k = pa_usec_to_bytes(usec, &i->sample_spec);
@@
-2272,6
+2272,8
@@
static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
pa_threaded_mainloop_wait(i->mainloop);
}
+ exit_loop2:
+
pa_threaded_mainloop_unlock(i->mainloop);
debug(DEBUG_LEVEL_NORMAL, __FILE__": GETOPTR bytes=%i, blocks=%i, ptr=%i\n", info->bytes, info->blocks, info->ptr);