diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-25 00:39:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-25 00:39:56 +0100 |
commit | 5030852c8e4c0a24a3a42e5583358daaad7ec0df (patch) | |
tree | 63141d0ac9daf8b1e667fdbfdd06e857a737c7ce /src/modules/module-ladspa-sink.c | |
parent | 066e6264013a530a940a703b21a12922db22b037 (diff) |
virtual: minor simplifications for the virtual sink
Diffstat (limited to 'src/modules/module-ladspa-sink.c')
-rw-r--r-- | src/modules/module-ladspa-sink.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c index 185871be..88df67ec 100644 --- a/src/modules/module-ladspa-sink.c +++ b/src/modules/module-ladspa-sink.c @@ -158,7 +158,9 @@ static void sink_request_rewind_cb(pa_sink *s) { return; /* Just hand this one over to the master sink */ - pa_sink_input_request_rewind(u->sink_input, s->thread_info.rewind_nbytes + pa_memblockq_get_length(u->memblockq), TRUE, FALSE, FALSE); + pa_sink_input_request_rewind(u->sink_input, + s->thread_info.rewind_nbytes + + pa_memblockq_get_length(u->memblockq), TRUE, FALSE, FALSE); } /* Called from I/O thread context */ @@ -924,7 +926,6 @@ void pa__done(pa_module*m) { pa_memblockq_free(u->memblockq); pa_xfree(u->input); - pa_xfree(u->control); pa_xfree(u); |