mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add kill_* and default_* commands to CLI
make module-cli unload itself on EOF clean up stdio usage add sink pointer to monitor sources git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@50 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
e61c2dddb7
commit
722c2c8c87
13 changed files with 300 additions and 96 deletions
|
|
@ -39,8 +39,12 @@ void pa_client_free(struct pa_client *c) {
|
|||
|
||||
void pa_client_kill(struct pa_client *c) {
|
||||
assert(c);
|
||||
if (c->kill)
|
||||
c->kill(c);
|
||||
if (!c->kill) {
|
||||
fprintf(stderr, "kill() operation not implemented for client %u\n", c->index);
|
||||
return;
|
||||
}
|
||||
|
||||
c->kill(c);
|
||||
}
|
||||
|
||||
char *pa_client_list_to_string(struct pa_core *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue