[pulseaudio-commits] r1857 - /branches/lennart/src/pulsecore/sink.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Sep 18 12:52:21 PDT 2007
Author: lennart
Date: Tue Sep 18 21:52:20 2007
New Revision: 1857
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1857&root=pulseaudio&view=rev
Log:
make sure we don't call pa_source_post() for a monitor source after it was unlinked
Modified:
branches/lennart/src/pulsecore/sink.c
Modified: branches/lennart/src/pulsecore/sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/sink.c?rev=1857&root=pulseaudio&r1=1856&r2=1857&view=diff
==============================================================================
--- branches/lennart/src/pulsecore/sink.c (original)
+++ branches/lennart/src/pulsecore/sink.c Tue Sep 18 21:52:20 2007
@@ -216,10 +216,10 @@
j = i;
}
+ sink_set_state(s, PA_SINK_UNLINKED);
+
if (s->monitor_source)
pa_source_unlink(s->monitor_source);
-
- sink_set_state(s, PA_SINK_UNLINKED);
s->get_latency = NULL;
s->get_volume = NULL;
More information about the pulseaudio-commits
mailing list