diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-04-01 03:04:39 +0200 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-04-01 03:04:39 +0200 | 
| commit | 75a8d18285f247b8a15dda8a3b545455d564d119 (patch) | |
| tree | 96ae5f16f9a154faef7b182d65a2ed351212a393 /src/pulsecore/source-output.h | |
| parent | c2f6d090c795bba9ef405908cee06bba79a87f1f (diff) | |
pass destination source/sink when moving streams so that we can access them
Diffstat (limited to 'src/pulsecore/source-output.h')
| -rw-r--r-- | src/pulsecore/source-output.h | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pulsecore/source-output.h b/src/pulsecore/source-output.h index 8d57ded4..9f5f7744 100644 --- a/src/pulsecore/source-output.h +++ b/src/pulsecore/source-output.h @@ -116,13 +116,15 @@ struct pa_source_output {       * disconnected from its source. Called from IO thread context */      void (*detach) (pa_source_output *o);           /* may be NULL */ -    /* If non-NULL called whenever the the source this output is attached +    /* If non-NULL called whenever the source this output is attached       * to suspends or resumes. Called from main context */      void (*suspend) (pa_source_output *o, pa_bool_t b);   /* may be NULL */ -    /* If non-NULL called whenever the the source this output is attached -     * to changes. Called from main context */ -    void (*moving) (pa_source_output *o);   /* may be NULL */ +    /* If non-NULL called whenever the source output is moved to a new +     * source. Called from main context after the stream was detached +     * from the old source and before it is attached to the new +     * source. */ +    void (*moving) (pa_source_output *o, pa_source *dest);   /* may be NULL */      /* Supposed to unlink and destroy this stream. Called from main       * context. */  | 
