diff options
author | Colin Guthrie <colin@mageia.org> | 2011-05-17 21:56:10 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-22 21:55:27 +0100 |
commit | 5d35375aa758fde7d9f3d6467e2506aca9784597 (patch) | |
tree | 13a5eef2e1a06d0d5a9a76a83f0c90d085819e06 /src/pulsecore/protocol-esound.c | |
parent | 30597b7c2747a52b1025e1172d73825e148fdec9 (diff) |
capture: Add the passthrough format negotiation to capture streams.
This helps to keep the API more symmetrical and also potentially
allows support for passthrough monitor sources at some point in the future.
Diffstat (limited to 'src/pulsecore/protocol-esound.c')
-rw-r--r-- | src/pulsecore/protocol-esound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-esound.c b/src/pulsecore/protocol-esound.c index c2af77c2..edca96a1 100644 --- a/src/pulsecore/protocol-esound.c +++ b/src/pulsecore/protocol-esound.c @@ -524,7 +524,7 @@ static int esd_proto_stream_record(connection *c, esd_proto_t request, const voi sdata.driver = __FILE__; sdata.module = c->options->module; sdata.client = c->client; - sdata.source = source; + pa_source_output_new_data_set_source(&sdata, source, FALSE); pa_source_output_new_data_set_sample_spec(&sdata, &ss); pa_source_output_new(&c->source_output, c->protocol->core, &sdata); |