mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
add support for automatic termination of the daemon after the last client quit
remove all gcc warnings add boolean types for tagstruct and modargs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@178 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
fb962b67db
commit
57e473b61c
23 changed files with 155 additions and 37 deletions
|
|
@ -50,7 +50,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) {
|
|||
goto finish;
|
||||
}
|
||||
|
||||
if (pa_modargs_get_value_u32(ma, "fd", &fd) < 0) {
|
||||
if (pa_modargs_get_value_s32(ma, "fd", &fd) < 0) {
|
||||
fprintf(stderr, __FILE__": invalid file descriptor.\n");
|
||||
goto finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue