mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-24 08:56:42 -05:00
cli protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@28 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6eddcc2f85
commit
81447ed392
7 changed files with 94 additions and 8 deletions
|
|
@ -19,6 +19,7 @@ int module_init(struct core *c, struct module*m) {
|
|||
stdin_inuse = stdout_inuse = 1;
|
||||
io = iochannel_new(c->mainloop, STDIN_FILENO, STDOUT_FILENO);
|
||||
assert(io);
|
||||
iochannel_set_noclose(io, 1);
|
||||
|
||||
m->userdata = cli_new(c, io);
|
||||
assert(m->userdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue