Changeset 5513:9bbb23a56bc8 in roaraudio
- Timestamp:
- 05/28/12 15:12:39 (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r5511 r5513 5 5 * Improved random number generator. 6 6 * Added a way to register plugin parts with a universal API (Closes: #245) 7 * Updated debian init script (Closes: #183) 7 8 8 9 v. 1.0beta1 - Sat May 12 2012 11:49 CEST -
dist/debian-like/defaults
r5104 r5513 30 30 # It is used for Zero Conf like the location above. 31 31 #ROARD_DESCRIPTION='' 32 33 # Contact for roard: 34 # This lion is a contact info for the server. 35 # It is in format: 36 # first ["']nick["'] last (comment) <email>/OpenPGPkey/Phone/Room 37 #ROARD_CONTACT='' 38 39 # Serial for roard: 40 # This is the serial numer for the device this roard runs on. 41 # This is only useful if this runs on an embedded device. 42 #ROARD_SERIAL='' 43 44 # User interface URL for roard: 45 # This is an url to a user interface used to control this roard or system. 46 # This can also be a telnet://, llogin:// or ssh:// url. 47 #ROARD_UIURL='' 32 48 33 49 # Default location for roard: … … 94 110 # ROARD_BITS=32 95 111 112 # Alternatively setting samplerate, channels and bits by AI Profile: 113 # ROARD_AIPROFILE='default-server' 114 96 115 # Sound Driver and Device: 97 116 # To get a list run: roard --list-driver … … 100 119 # ROARD_DRIVER='oss' 101 120 # ROARD_DEVICE='/dev/dsp' 102 # ROARD_DRIVER_OPTIONS='sync '121 # ROARD_DRIVER_OPTIONS='sync,autoconf' 103 122 104 123 # The Mixer Driver and Device: … … 122 141 # Defaults to roard's internal defaults. 123 142 # ROARD_ROLESTACK='' 143 144 # --- [ Plugins ] --- 145 146 # Plugins to load: 147 # This lists the plugins to load. If no path is given (recommended) 148 # they are loaded from the plugin search path. 149 # Both, roard and universal (/multi-host) plugins can be loaded. 150 # ROARD_PLUGINS='' 124 151 125 152 # --- [ Auth Options ] --- -
dist/debian-like/roaraudio
r5411 r5513 3 3 # roaraudio initscript 4 4 # 5 # Copyright (c) 2008-201 0Philipp 'ph3-der-loewe' Schafft <lion@lion.leolix.org>5 # Copyright (c) 2008-2012 Philipp 'ph3-der-loewe' Schafft <lion@lion.leolix.org> 6 6 # Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> 7 7 # … … 77 77 [ "$ROARD_DESCRIPTION" = '' ] || ROARD_OPTS="--description '$ROARD_DESCRIPTION' $ROARD_OPTS" 78 78 79 [ "$ROARD_CONTACT" = '' ] || ROARD_OPTS="--contact '$ROARD_CONTACT' $ROARD_OPTS" 80 [ "$ROARD_SERIAL" = '' ] || ROARD_OPTS="--serial '$ROARD_SERIAL' $ROARD_OPTS" 81 [ "$ROARD_UIURL" = '' ] || ROARD_OPTS="--uiurl '$ROARD_UIURL' $ROARD_OPTS" 82 83 [ "$ROARD_SOCKET" = '' ] || ROARD_OPTS="--sock $ROARD_SOCKET $ROARD_OPTS" 84 [ "$ROARD_PORT" = '' ] || ROARD_OPTS="--port $ROARD_PORT $ROARD_OPTS" 85 86 if [ "$ROARD_OBJECT" = '' ] 87 then 88 [ "$ROARD_HOST" = '' ] || ROARD_OPTS="--bind $ROARD_HOST $ROARD_OPTS" 89 else 90 ROARD_OPTS="--sock $ROARD_HOST::$ROARD_OBJECT $ROARD_OPTS" 91 fi 92 79 93 case "$ROARD_AF" in 80 94 UNIX|unix) … … 120 134 esac 121 135 122 [ "$ROARD_SOCKET" = '' ] || ROARD_OPTS="--sock $ROARD_SOCKET $ROARD_OPTS" 123 [ "$ROARD_PORT" = '' ] || ROARD_OPTS="--port $ROARD_PORT $ROARD_OPTS" 124 125 if [ "$ROARD_OBJECT" = '' ] 126 then 127 [ "$ROARD_HOST" = '' ] || ROARD_OPTS="--bind $ROARD_HOST $ROARD_OPTS" 128 else 129 ROARD_OPTS="--sock $ROARD_HOST::$ROARD_OBJECT $ROARD_OPTS" 136 if [ "$ROARD_PROFILES" != '' ] 137 then 138 _p=`echo "$ROARD_PROFILES" | sed 's/ */ --new-sock --proto-profile /g'` 139 ROARD_OPTS="$ROARD_OPTS --new-sock --proto-profile $_p" 130 140 fi 131 141 … … 136 146 [ "$ROARD_BITS" = '' ] || ROARD_OPTS="-B $ROARD_BITS $ROARD_OPTS" 137 147 148 [ "$ROARD_AIPROFILE" = '' ] || ROARD_OPTS="--aiprofile $ROARD_AIPROFILE $ROARD_OPTS" 149 138 150 [ "$ROARD_DRIVER" = '' ] || ROARD_OPTS="-o $ROARD_DRIVER $ROARD_OPTS" 139 151 [ "$ROARD_DEVICE" = '' ] || ROARD_OPTS="-O $ROARD_DEVICE $ROARD_OPTS" 140 [ "$ROARD_DRIVER_OPTIONS" = '' ] && ROARD_DRIVER_OPTIONS='sync '152 [ "$ROARD_DRIVER_OPTIONS" = '' ] && ROARD_DRIVER_OPTIONS='sync,autoconf' 141 153 ROARD_OPTS="-oP -oO $ROARD_DRIVER_OPTIONS $ROARD_OPTS" 142 154 … … 150 162 do 151 163 ROARD_OPTS="--rolestack-push $_p $ROARD_OPTS" 164 done 165 166 for _p in $ROARD_PLUGINS 167 do 168 ROARD_OPTS="--plugin-load $_p $ROARD_OPTS" 152 169 done 153 170 … … 195 212 196 213 ROARD_OPTS="$ROARD_OPTS $ESD_OPTS $RSOUND_OPTS" 197 198 if [ "$ROARD_PROFILES" != '' ]199 then200 _p=`echo "$ROARD_PROFILES" | sed 's/ */ --new-sock --proto-profile /g'`201 ROARD_OPTS="$ROARD_OPTS --new-sock --proto-profile $_p"202 fi203 214 204 215 for _p in $CHOWN_LIST
Note: See TracChangeset
for help on using the changeset viewer.