diff options
-rw-r--r-- | pipewire-pulseaudio/src/stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pipewire-pulseaudio/src/stream.c b/pipewire-pulseaudio/src/stream.c index 3acdfc28..8c3799f1 100644 --- a/pipewire-pulseaudio/src/stream.c +++ b/pipewire-pulseaudio/src/stream.c @@ -1603,8 +1603,7 @@ pa_operation* pa_stream_cork(pa_stream *s, int b, pa_stream_success_cb_t cb, voi pw_log_debug("stream %p: cork %d->%d", s, s->corked, b); s->corked = b; - if (!b) - pw_stream_set_active(s->stream, true); + pw_stream_set_active(s->stream, !b); o = pa_operation_new(s->context, s, on_success, sizeof(struct success_ack)); d = o->userdata; d->cb = cb; |