From b27cc1d426b7fda9cc21a0854a9cd6f494e2f7fa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jun 2008 21:56:19 +0000 Subject: fix a bad memory access pulsecore/client.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/source-output.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pulsecore/source-output.h') diff --git a/src/pulsecore/source-output.h b/src/pulsecore/source-output.h index 2dadb5c4..ae98b0e3 100644 --- a/src/pulsecore/source-output.h +++ b/src/pulsecore/source-output.h @@ -73,6 +73,9 @@ struct pa_source_output { pa_source *source; + /* A source output can monitor just a single input of a sink, in which case we find it here */ + pa_sink_input *direct_on_input; /* may be NULL */ + pa_sample_spec sample_spec; pa_channel_map channel_map; @@ -135,6 +138,8 @@ struct pa_source_output { /* The requested latency for the source */ pa_usec_t requested_source_latency; + + pa_sink_input *direct_on_input; /* may be NULL */ } thread_info; void *userdata; @@ -154,6 +159,7 @@ enum { typedef struct pa_source_output_new_data { pa_proplist *proplist; + pa_sink_input *direct_on_input; const char *driver; pa_module *module; -- cgit