diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-07-10 20:56:38 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-07-10 20:56:38 +0000 |
commit | c7bd759cdb2b8f16693750f89ed781707a53e5a9 (patch) | |
tree | d91b7d2e3dfd183adc4042d82c5aa61ba32c6ab2 /src/cli.c | |
parent | 025389693d292b7a1c5f2c6e0ce96efa14062274 (diff) |
add description field for sinks/sources
add owner field to all entities
add client file to source outputs and sink inputs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@59 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,7 @@ static const char prompt[] = ">>> "; static void client_kill(struct pa_client *c); -struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io) { +struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io, struct pa_module *m) { char cname[256]; struct pa_cli *c; assert(io); @@ -102,6 +102,7 @@ struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io) { assert(c->client); c->client->kill = client_kill; c->client->userdata = c; + c->client->owner = m; pa_ioline_set_callback(c->line, line_callback, c); pa_ioline_puts(c->line, "Welcome to polypaudio! Use \"help\" for usage information.\n"); |