]>
code.delx.au - pulseaudio/blob - polyp/esdcompat.sh.in
5 # This file is part of polypaudio.
7 # polypaudio is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # polypaudio is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with polypaudio; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 VERSION_STRING
="@PACKAGE_NAME@ esd wrapper @PACKAGE_VERSION@"
25 echo "$1" > /dev
/stderr
29 for N
in $
(seq $#) ; do
34 echo "$VERSION_STRING"
44 -v --version print version information
45 -h --help show this help
49 -tcp use tcp/ip sockets in addition to unix domain
50 -promiscuous don't require authentication
51 -d DEVICE force esd to use sound device DEVICE
52 -b run server in 8 bit sound mode
53 -r RATE run server at sample rate of RATE
54 -as SECS free audio device after SECS of inactivity
55 -unix use unix domain sockets instead of tcp/ip
56 -public make tcp/ip access public (other than localhost)
57 -terminate terminate esd daemone after last client exits
58 -nobeeps disable startup beeps
59 -trust start esd even if use of /tmp/.esd can be insecure
60 -port PORT listen for connections at PORT (only for tcp/ip)
61 -bind ADDRESS binds to ADDRESS (only for tcp/ip)
66 -unix|
-b|
-public|
-terminate|
-nobeeps|
-trust|
-tcp|
-promiscuous)
67 # Ignore these commands
70 -d|
-r|
-as|
-port|
-bind)
71 # Ignore these commands and their arguments
76 fail
"Unknown command: $1"
83 exec "@POLYPAUDIO_BINARY@" -r