X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/00b53f3f4b27af2572656c975b1fd225e272e012..7b8c329578d642d31618d487b97864306c43073c:/src/module-protocol-stub.c diff --git a/src/module-protocol-stub.c b/src/module-protocol-stub.c index f9ed62b8..3ce18c31 100644 --- a/src/module-protocol-stub.c +++ b/src/module-protocol-stub.c @@ -1,3 +1,28 @@ +/* $Id$ */ + +/*** + This file is part of polypaudio. + + polypaudio is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 2 of the License, + or (at your option) any later version. + + polypaudio is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with polypaudio; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +***/ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -37,7 +62,7 @@ #else #ifdef USE_PROTOCOL_ESOUND #include "protocol-esound.h" - #include "esound-spec.h" + #include "esound.h" #define protocol_new pa_protocol_esound_new #define protocol_free pa_protocol_esound_free #define IPV4_PORT ESD_DEFAULT_PORT @@ -64,7 +89,7 @@ static const char* const valid_modargs[] = { static struct pa_socket_server *create_socket_server(struct pa_core *c, struct pa_modargs *ma) { struct pa_socket_server *s; #ifdef USE_TCP_SOCKETS - uint32_t loopback = 0, port = IPV4_PORT; + uint32_t loopback = 1, port = IPV4_PORT; if (pa_modargs_get_value_u32(ma, "loopback", &loopback) < 0) { fprintf(stderr, "loopback= expects a numerical argument.\n");