diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-17 20:43:40 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-17 20:43:40 +0000 |
commit | 08953564bb85356869a1f043b82d1f365c8729a1 (patch) | |
tree | 82f67c044050ac4d953692e41762e1b369b2ca59 /polyp/polyplib-context.c | |
parent | 95612b6b1c01ab62b1dd8d51a9d62d4e502cef11 (diff) |
add --resample-method argument
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@214 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r-- | polyp/polyplib-context.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c index 4ed15c4b..8f6ce6a8 100644 --- a/polyp/polyplib-context.c +++ b/polyp/polyplib-context.c @@ -432,16 +432,17 @@ static int context_connect_spawn(struct pa_context *c, const struct pa_spawn_api putenv(t); argv[n++] = c->conf->daemon_binary; - + argv[n++] = "--daemonize=yes"; + snprintf(t, sizeof(t), "-Lmodule-native-protocol-fd fd=%i", fds[1]); - argv[n++] = pa_xstrdup(t); + argv[n++] = t; while (n < MAX_ARGS) { char *a; if (!(a = pa_split_spaces(c->conf->extra_arguments, &state))) break; - + argv[n++] = a; } |