pass destination source/sink when moving streams so that we can access them

This commit is contained in:
Lennart Poettering 2009-04-01 03:04:39 +02:00
parent c2f6d090c7
commit 75a8d18285
5 changed files with 24 additions and 20 deletions

View file

@ -747,7 +747,7 @@ int pa_source_output_finish_move(pa_source_output *o, pa_source *dest, pa_bool_t
new_resampler = NULL;
if (o->moving)
o->moving(o);
o->moving(o, dest);
o->source = dest;
o->save_source = save;