[pulseaudio-commits] r2387 - /branches/glitch-free/src/pulse/stream.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed May 7 14:10:20 PDT 2008
Author: lennart
Date: Wed May 7 23:10:19 2008
New Revision: 2387
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2387&root=pulseaudio&view=rev
Log:
fix recording
Modified:
branches/glitch-free/src/pulse/stream.c
Modified: branches/glitch-free/src/pulse/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulse/stream.c?rev=2387&root=pulseaudio&r1=2386&r2=2387&view=diff
==============================================================================
--- branches/glitch-free/src/pulse/stream.c (original)
+++ branches/glitch-free/src/pulse/stream.c Wed May 7 23:10:19 2008
@@ -1263,7 +1263,8 @@
goto finish;
}
- if (o->context->version >= 13)
+ if (o->context->version >= 13 &&
+ o->stream->direction == PA_STREAM_PLAYBACK)
if (pa_tagstruct_getu64(t, &underrun_for) < 0 ||
pa_tagstruct_getu64(t, &playing_for) < 0) {
More information about the pulseaudio-commits
mailing list