summaryrefslogtreecommitdiff
path: root/src/modules/module-virtual-source.c
diff options
context:
space:
mode:
authorStefan Huber <s.huber@bct-electronic.com>2013-03-06 10:35:37 +0100
committerTanu Kaskinen <tanuk@iki.fi>2013-03-06 16:32:12 +0200
commit278ceb453f5371521ed204544f846ee26c919edc (patch)
treeaba574518910d0f58fa9df27b0b266a615625d20 /src/modules/module-virtual-source.c
parent1489c43acc727f6d044108d358da919f0d47d119 (diff)
modules: Remove obsolete may_move_to callbacks
Some modules have source_output_may_move_to_cb() and sink_input_may_move_to_cb() implemented that duplicate the default behavior. Remove them.
Diffstat (limited to 'src/modules/module-virtual-source.c')
-rw-r--r--src/modules/module-virtual-source.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/modules/module-virtual-source.c b/src/modules/module-virtual-source.c
index c0f634212..58041e798 100644
--- a/src/modules/module-virtual-source.c
+++ b/src/modules/module-virtual-source.c
@@ -440,20 +440,6 @@ static void source_output_kill_cb(pa_source_output *o) {
}
/* Called from main thread */
-static pa_bool_t source_output_may_move_to_cb(pa_source_output *o, pa_source *dest) {
- struct userdata *u;
-
- pa_source_output_assert_ref(o);
- pa_assert_ctl_context();
- pa_assert_se(u = o->userdata);
-
- /* FIXME */
- //return dest != u->source_input->source->monitor_source;
-
- return TRUE;
-}
-
-/* Called from main thread */
static void source_output_moving_cb(pa_source_output *o, pa_source *dest) {
struct userdata *u;
@@ -618,7 +604,6 @@ int pa__init(pa_module*m) {
u->source_output->attach = source_output_attach_cb;
u->source_output->detach = source_output_detach_cb;
u->source_output->state_change = source_output_state_change_cb;
- u->source_output->may_move_to = source_output_may_move_to_cb;
u->source_output->moving = source_output_moving_cb;
u->source_output->userdata = u;