projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca71764
)
make sure we don't call pa_source_post() for a monitor source after it was unlinked
author
Lennart Poettering
<lennart@poettering.net>
Tue, 18 Sep 2007 19:52:20 +0000
(19:52 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 18 Sep 2007 19:52:20 +0000
(19:52 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1857
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/sink.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/sink.c
b/src/pulsecore/sink.c
index
98f117c
..
886d744
100644
(file)
--- a/
src/pulsecore/sink.c
+++ b/
src/pulsecore/sink.c
@@
-216,11
+216,11
@@
void pa_sink_unlink(pa_sink* s) {
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;
s->set_volume = NULL;